Class: Courier::Models::ElementalNodeNonChannel::UnionMember3
- Inherits:
-
Courier::Models::ElementalActionNode
- Object
- Internal::Type::BaseModel
- Courier::Models::ElementalBaseNode
- Courier::Models::ElementalActionNode
- Courier::Models::ElementalNodeNonChannel::UnionMember3
- Defined in:
- lib/courier/models/elemental_node_non_channel.rb,
sig/courier/models/elemental_node_non_channel.rbs
Defined Under Namespace
Modules: Type
Instance Attribute Summary collapse
Attributes inherited from Courier::Models::ElementalActionNode
#action_id, #align, #background_color, #border_radius, #border_size, #content, #disable_tracking, #font_size, #href, #locales, #padding, #style
Attributes inherited from Courier::Models::ElementalBaseNode
Instance Method Summary collapse
- #`type` ⇒ Courier::Models::ElementalNodeNonChannel::UnionMember3::type_?
- #initialize ⇒ Object constructor
- #to_hash ⇒ {
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 ⇒ Object
112 |
# File 'sig/courier/models/elemental_node_non_channel.rbs', line 112
def initialize: (
|
Instance Attribute Details
#type ⇒ Symbol, ...
102 |
# File 'lib/courier/models/elemental_node_non_channel.rb', line 102 optional :type, enum: -> { Courier::ElementalNodeNonChannel::UnionMember3::Type } |
Instance Method Details
#`type` ⇒ Courier::Models::ElementalNodeNonChannel::UnionMember3::type_?
106 |
# File 'sig/courier/models/elemental_node_non_channel.rbs', line 106
def `type`: -> Courier::Models::ElementalNodeNonChannel::UnionMember3::type_?
|
#to_hash ⇒ {
116 |
# File 'sig/courier/models/elemental_node_non_channel.rbs', line 116
def to_hash: -> {
|