Class: Zavudev::Models::Contacts::ChannelSetPrimaryResponse
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Zavudev::Models::Contacts::ChannelSetPrimaryResponse
- Defined in:
- lib/zavudev/models/contacts/channel_set_primary_response.rb,
sig/zavudev/models/contacts/channel_set_primary_response.rbs
Overview
Instance Attribute Summary collapse
-
#channel ⇒ Zavudev::Models::ContactChannel
A communication channel for a contact.
Instance Method Summary collapse
-
#initialize(channel:) ⇒ ChannelSetPrimaryResponse
constructor
A new instance of ChannelSetPrimaryResponse.
- #to_hash ⇒ { channel: Zavudev::ContactChannel }
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(channel:) ⇒ ChannelSetPrimaryResponse
Returns a new instance of ChannelSetPrimaryResponse.
|
|
# File 'lib/zavudev/models/contacts/channel_set_primary_response.rb', line 14
|
Instance Attribute Details
#channel ⇒ Zavudev::Models::ContactChannel
A communication channel for a contact.
12 |
# File 'lib/zavudev/models/contacts/channel_set_primary_response.rb', line 12 required :channel, -> { Zavudev::ContactChannel } |
Instance Method Details
#to_hash ⇒ { channel: Zavudev::ContactChannel }
11 |
# File 'sig/zavudev/models/contacts/channel_set_primary_response.rbs', line 11
def to_hash: -> { channel: Zavudev::ContactChannel }
|