Class: Knockapi::Models::Recipients::RecipientsChannelData::Data::AwssnsPushChannelDataFull

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/knockapi/models/recipients/channel_data.rb

Defined Under Namespace

Classes: Device

Instance Attribute Summary collapse

Method Summary

Methods inherited from Internal::Type::BaseModel

#==, ==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, #initialize, 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

This class inherits a constructor from Knockapi::Internal::Type::BaseModel

Instance Attribute Details

#devicesArray<Knockapi::Models::Recipients::RecipientsChannelData::Data::AwssnsPushChannelDataFull::Device>

A list of devices. Each device contains a target_arn, and optionally a locale and timezone.



134
135
# File 'lib/knockapi/models/recipients/channel_data.rb', line 134

required :devices,
-> { Knockapi::Internal::Type::ArrayOf[Knockapi::Recipients::RecipientsChannelData::Data::AwssnsPushChannelDataFull::Device] }

#target_arnsArray<String>

A list of platform endpoint ARNs. See [Setting up an Amazon SNS platform endpoint for mobile notifications](docs.aws.amazon.com/sns/latest/dg/mobile-platform-endpoint.html).

Returns:

  • (Array<String>)


142
# File 'lib/knockapi/models/recipients/channel_data.rb', line 142

required :target_arns, Knockapi::Internal::Type::ArrayOf[String]