Class: Telnyx::Models::EmailInboxes::Messages::ActionForwardParams::To::UnionMember1
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::EmailInboxes::Messages::ActionForwardParams::To::UnionMember1
- Defined in:
- lib/telnyx/models/email_inboxes/messages/action_forward_params.rb,
sig/telnyx/models/email_inboxes/messages/action_forward_params.rbs
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ UnionMember1
constructor
A new instance of UnionMember1.
- #to_hash ⇒ { email: String, name: String }
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 ⇒ UnionMember1
Returns a new instance of UnionMember1.
86 |
# File 'sig/telnyx/models/email_inboxes/messages/action_forward_params.rbs', line 86
def initialize: (email: String, ?name: String) -> void
|
Instance Attribute Details
#email ⇒ String
92 |
# File 'lib/telnyx/models/email_inboxes/messages/action_forward_params.rb', line 92 required :email, String |
#name ⇒ String?
97 |
# File 'lib/telnyx/models/email_inboxes/messages/action_forward_params.rb', line 97 optional :name, String |
Instance Method Details
#to_hash ⇒ { email: String, name: String }
88 |
# File 'sig/telnyx/models/email_inboxes/messages/action_forward_params.rbs', line 88
def to_hash: -> { email: String, name: String }
|