Class: Courier::Models::JourneyTemplateGetResponse
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Courier::Models::JourneyTemplateGetResponse
- Defined in:
- lib/courier/models/journey_template_get_response.rb
Defined Under Namespace
Modules: State Classes: Brand, Content, Subscription
Instance Attribute Summary collapse
- #brand ⇒ Courier::Models::JourneyTemplateGetResponse::Brand?
- #content ⇒ Courier::Models::JourneyTemplateGetResponse::Content
- #created ⇒ Integer
- #creator ⇒ String
- #id ⇒ String
- #name ⇒ String
- #state ⇒ Symbol, Courier::Models::JourneyTemplateGetResponse::State
- #subscription ⇒ Courier::Models::JourneyTemplateGetResponse::Subscription?
- #tags ⇒ Array<String>
- #updated ⇒ Integer?
- #updater ⇒ String?
Class Method Summary collapse
Instance Method Summary collapse
- #initialize(id:) ⇒ Object constructor
Methods inherited from Internal::Type::BaseModel
==, #==, #[], 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
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#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
#brand ⇒ Courier::Models::JourneyTemplateGetResponse::Brand?
14 |
# File 'lib/courier/models/journey_template_get_response.rb', line 14 required :brand, -> { Courier::JourneyTemplateGetResponse::Brand }, nil?: true |
#content ⇒ Courier::Models::JourneyTemplateGetResponse::Content
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 |
#state ⇒ Symbol, Courier::Models::JourneyTemplateGetResponse::State
39 |
# File 'lib/courier/models/journey_template_get_response.rb', line 39 required :state, enum: -> { Courier::JourneyTemplateGetResponse::State } |
#subscription ⇒ Courier::Models::JourneyTemplateGetResponse::Subscription?
44 |
# File 'lib/courier/models/journey_template_get_response.rb', line 44 required :subscription, -> { Courier::JourneyTemplateGetResponse::Subscription }, nil?: true |
#tags ⇒ Array<String>
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
|