Class: Sentdm::Models::TemplateCreateParams::Definition::Body::Rcs::Variable
Defined Under Namespace
Classes: Props
Instance Attribute Summary collapse
Instance Method Summary
collapse
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(name:, props:, type:, id: nil) ⇒ Object
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
|
# File 'lib/sentdm/models/template_create_params.rb', line 317
class Variable < Sentdm::Internal::Type::BaseModel
required :name, String
required :props, -> { Sentdm::TemplateCreateParams::Definition::Body::Rcs::Variable::Props }
required :type, String
optional :id, Integer
class Props < Sentdm::Internal::Type::BaseModel
required :media_type, String, api_name: :mediaType
required :sample, String
required :url, String
required :variable_type, String, api_name: :variableType
optional :alt, String, nil?: true
optional :regex, String, nil?: true
optional :short_url, String, api_name: :shortUrl, nil?: true
end
end
|
Instance Attribute Details
#id ⇒ Integer?
336
|
# File 'lib/sentdm/models/template_create_params.rb', line 336
optional :id, Integer
|
#name ⇒ String
321
|
# File 'lib/sentdm/models/template_create_params.rb', line 321
required :name, String
|
326
|
# File 'lib/sentdm/models/template_create_params.rb', line 326
required :props, -> { Sentdm::TemplateCreateParams::Definition::Body::Rcs::Variable::Props }
|
#type ⇒ String
331
|
# File 'lib/sentdm/models/template_create_params.rb', line 331
required :type, String
|