Class: Courier::Models::ElementalNodeNonChannel::UnionMember0
- Inherits:
-
Courier::Models::ElementalTextNode
- Object
- Internal::Type::BaseModel
- Courier::Models::ElementalBaseNode
- Courier::Models::ElementalTextNode
- Courier::Models::ElementalNodeNonChannel::UnionMember0
- 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::ElementalTextNode
#align, #bold, #color, #content, #font_size, #format_, #italic, #line_height, #locales, #strikethrough, #text_style, #underline
Attributes inherited from Courier::Models::ElementalBaseNode
Instance Method Summary collapse
- #`type` ⇒ Courier::Models::ElementalNodeNonChannel::UnionMember0::type_?
- #initialize ⇒ Object constructor
- #to_hash ⇒ {
Methods inherited from Courier::Models::ElementalTextNode
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
25 |
# File 'sig/courier/models/elemental_node_non_channel.rbs', line 25
def initialize: (
|
Instance Attribute Details
#type ⇒ Symbol, ...
37 |
# File 'lib/courier/models/elemental_node_non_channel.rb', line 37 optional :type, enum: -> { Courier::ElementalNodeNonChannel::UnionMember0::Type } |
Instance Method Details
#`type` ⇒ Courier::Models::ElementalNodeNonChannel::UnionMember0::type_?
19 |
# File 'sig/courier/models/elemental_node_non_channel.rbs', line 19
def `type`: -> Courier::Models::ElementalNodeNonChannel::UnionMember0::type_?
|
#to_hash ⇒ {
29 |
# File 'sig/courier/models/elemental_node_non_channel.rbs', line 29
def to_hash: -> {
|