Class: Knockapi::Models::Recipients::RecipientsChannelData::Data::PushChannelDataFull
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Knockapi::Models::Recipients::RecipientsChannelData::Data::PushChannelDataFull
- Defined in:
- lib/knockapi/models/recipients/channel_data.rb,
sig/knockapi/models/recipients/channel_data.rbs
Defined Under Namespace
Classes: Device
Instance Attribute Summary collapse
-
#devices ⇒ Array<Knockapi::Models::Recipients::RecipientsChannelData::Data::PushChannelDataFull::Device>
A list of devices.
-
#tokens ⇒ Array<String>
A list of push channel tokens.
Instance Method Summary collapse
- #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
61 |
# File 'sig/knockapi/models/recipients/channel_data.rbs', line 61
def initialize: (
|
Instance Attribute Details
#devices ⇒ Array<Knockapi::Models::Recipients::RecipientsChannelData::Data::PushChannelDataFull::Device>
A list of devices. Each device contains a token, and optionally a locale and timezone.
72 73 |
# File 'lib/knockapi/models/recipients/channel_data.rb', line 72 required :devices, -> { Knockapi::Internal::Type::ArrayOf[Knockapi::Recipients::RecipientsChannelData::Data::PushChannelDataFull::Device] } |
#tokens ⇒ Array<String>
A list of push channel tokens.
79 |
# File 'lib/knockapi/models/recipients/channel_data.rb', line 79 required :tokens, Knockapi::Internal::Type::ArrayOf[String] |
Instance Method Details
#to_hash ⇒ {
66 |
# File 'sig/knockapi/models/recipients/channel_data.rbs', line 66
def to_hash: -> {
|