Class: Knockapi::Models::Recipients::RecipientsChannelData
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Knockapi::Models::Recipients::RecipientsChannelData
- Defined in:
- lib/knockapi/models/recipients/channel_data.rb
Defined Under Namespace
Instance Attribute Summary collapse
-
#_typename ⇒ String
The typename of the schema.
-
#channel_id ⇒ String
The unique identifier for the channel.
-
#data ⇒ Knockapi::Models::Recipients::RecipientsChannelData::Data::PushChannelDataFull, ...
Channel data for a given channel type.
-
#provider ⇒ Symbol, ...
The type of provider.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(target_arn:, locale: nil, timezone: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see Data::AwssnsPushChannelDataFull::Device for more details.
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(target_arn:, locale: nil, timezone: nil) ⇒ Object
Some parameter documentations has been truncated, see Knockapi::Models::Recipients::RecipientsChannelData::Data::AwssnsPushChannelDataFull::Device for more details.
|
|
# File 'lib/knockapi/models/recipients/channel_data.rb', line 31
|
Instance Attribute Details
#_typename ⇒ String
The typename of the schema.
11 |
# File 'lib/knockapi/models/recipients/channel_data.rb', line 11 required :_typename, String, api_name: :__typename |
#channel_id ⇒ String
The unique identifier for the channel.
17 |
# File 'lib/knockapi/models/recipients/channel_data.rb', line 17 required :channel_id, String |
#data ⇒ Knockapi::Models::Recipients::RecipientsChannelData::Data::PushChannelDataFull, ...
Channel data for a given channel type.
23 |
# File 'lib/knockapi/models/recipients/channel_data.rb', line 23 required :data, union: -> { Knockapi::Recipients::RecipientsChannelData::Data } |
#provider ⇒ Symbol, ...
The type of provider.
29 |
# File 'lib/knockapi/models/recipients/channel_data.rb', line 29 optional :provider, enum: -> { Knockapi::Recipients::RecipientsChannelData::Provider } |
Class Method Details
.variants ⇒ Array(Knockapi::Models::Recipients::RecipientsChannelData::Data::PushChannelDataFull, Knockapi::Models::Recipients::RecipientsChannelData::Data::AwssnsPushChannelDataFull, Knockapi::Models::Recipients::OneSignalChannelDataPlayerIDsOnly, Knockapi::Models::Recipients::SlackChannelData, Knockapi::Models::Recipients::MsTeamsChannelData, Knockapi::Models::Recipients::DiscordChannelData)
|
|
# File 'lib/knockapi/models/recipients/channel_data.rb', line 193
|