Class: Sentdm::Models::TemplateCreateParams::Definition::Body::SMS::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
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
|
# File 'lib/sentdm/models/template_create_params.rb', line 421
class Variable < Sentdm::Internal::Type::BaseModel
required :name, String
required :props, -> { Sentdm::TemplateCreateParams::Definition::Body::SMS::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?
440
|
# File 'lib/sentdm/models/template_create_params.rb', line 440
optional :id, Integer
|
#name ⇒ String
425
|
# File 'lib/sentdm/models/template_create_params.rb', line 425
required :name, String
|
430
|
# File 'lib/sentdm/models/template_create_params.rb', line 430
required :props, -> { Sentdm::TemplateCreateParams::Definition::Body::SMS::Variable::Props }
|
#type ⇒ String
435
|
# File 'lib/sentdm/models/template_create_params.rb', line 435
required :type, String
|