Class: Courier::Models::JourneyTemplateGetResponse
Defined Under Namespace
Modules: State
Classes: Brand, Content, Subscription
Instance Attribute Summary collapse
Class Method 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(id:) ⇒ Object
|
# File 'lib/courier/models/journey_template_get_response.rb', line 61
|
Instance Attribute Details
14
|
# File 'lib/courier/models/journey_template_get_response.rb', line 14
required :brand, -> { Courier::JourneyTemplateGetResponse::Brand }, nil?: true
|
19
|
# File 'lib/courier/models/journey_template_get_response.rb', line 19
required :content, -> { Courier::JourneyTemplateGetResponse::Content }
|
#created ⇒ Integer
24
|
# File 'lib/courier/models/journey_template_get_response.rb', line 24
required :created, Integer
|
#creator ⇒ String
29
|
# File 'lib/courier/models/journey_template_get_response.rb', line 29
required :creator, String
|
#id ⇒ String
9
|
# File 'lib/courier/models/journey_template_get_response.rb', line 9
required :id, String
|
#name ⇒ String
34
|
# File 'lib/courier/models/journey_template_get_response.rb', line 34
required :name, String
|
39
|
# File 'lib/courier/models/journey_template_get_response.rb', line 39
required :state, enum: -> { Courier::JourneyTemplateGetResponse::State }
|
44
|
# File 'lib/courier/models/journey_template_get_response.rb', line 44
required :subscription, -> { Courier::JourneyTemplateGetResponse::Subscription }, nil?: true
|
49
|
# File 'lib/courier/models/journey_template_get_response.rb', line 49
required :tags, Courier::Internal::Type::ArrayOf[String]
|
#updated ⇒ Integer?
54
|
# File 'lib/courier/models/journey_template_get_response.rb', line 54
optional :updated, Integer
|
#updater ⇒ String?
59
|
# File 'lib/courier/models/journey_template_get_response.rb', line 59
optional :updater, String
|
Class Method Details
.values ⇒ Array<Symbol>
|
# File 'lib/courier/models/journey_template_get_response.rb', line 126
|
Instance Method Details
#to_hash ⇒ {
59
|
# File 'sig/courier/models/journey_template_get_response.rbs', line 59
def to_hash: -> {
|