Class: Knockapi::Models::Recipients::AwsSnsPushChannelDataTargetArnsOnly

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/knockapi/models/recipients/aws_sns_push_channel_data_target_arns_only.rb,
sig/knockapi/models/recipients/aws_sns_push_channel_data_target_arns_only.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

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_arns:) ⇒ AwsSnsPushChannelDataTargetArnsOnly

Some parameter documentations has been truncated, see Knockapi::Models::Recipients::AwsSnsPushChannelDataTargetArnsOnly for more details.

AWS SNS push channel data.

Parameters:

  • target_arns (Array<String>)

    A list of platform endpoint ARNs. See [Setting up an Amazon SNS platform endpoin

  • target_arns: (::Array[String])


# File 'lib/knockapi/models/recipients/aws_sns_push_channel_data_target_arns_only.rb', line 14

Instance Attribute Details

#target_arnsArray<String>

Parameters:

  • value (::Array[String])

Returns:

  • (Array<String>)


12
# File 'lib/knockapi/models/recipients/aws_sns_push_channel_data_target_arns_only.rb', line 12

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

Instance Method Details

#to_hash{ target_arns: ::Array[String] }

Returns:

  • ({ target_arns: ::Array[String] })


12
# File 'sig/knockapi/models/recipients/aws_sns_push_channel_data_target_arns_only.rbs', line 12

def to_hash: -> { target_arns: ::Array[String] }