Class: Courier::Models::JourneyTemplateGetResponse::Content
Overview
Defined Under Namespace
Modules: Scope, Version
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(elements:, version:, scope: nil) ⇒ Object
|
# File 'lib/courier/models/journey_template_get_response.rb', line 104
|
Instance Attribute Details
92
|
# File 'lib/courier/models/journey_template_get_response.rb', line 92
required :elements, -> { Courier::Internal::Type::ArrayOf[union: Courier::ElementalNode] }
|
#scope ⇒ Symbol, ...
102
|
# File 'lib/courier/models/journey_template_get_response.rb', line 102
optional :scope, enum: -> { Courier::JourneyTemplateGetResponse::Content::Scope }
|
97
|
# File 'lib/courier/models/journey_template_get_response.rb', line 97
required :version, enum: -> { Courier::JourneyTemplateGetResponse::Content::Version }
|
Class Method Details
.values ⇒ Array<Symbol>
|
# File 'lib/courier/models/journey_template_get_response.rb', line 115
|
Instance Method Details
#to_hash ⇒ {
107
|
# File 'sig/courier/models/journey_template_get_response.rbs', line 107
def to_hash: -> {
|