Class: Courier::Models::SendMessageParams::Message::Provider

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/courier/models/send_message_params.rb

Defined Under Namespace

Classes: Metadata

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(if_: nil, metadata: nil, override: nil, timeouts: nil) ⇒ Object



# File 'lib/courier/models/send_message_params.rb', line 388


Instance Attribute Details

#if_String?

JS conditional with access to data/profile.



370
# File 'lib/courier/models/send_message_params.rb', line 370

optional :if_, String, api_name: :if, nil?: true

#metadataCourier::Models::SendMessageParams::Message::Provider::Metadata?



375
# File 'lib/courier/models/send_message_params.rb', line 375

optional :metadata, -> { Courier::SendMessageParams::Message::Provider:: }, nil?: true

#overrideHash{Symbol=>Object}?

Provider-specific overrides.



381
# File 'lib/courier/models/send_message_params.rb', line 381

optional :override, Courier::Internal::Type::HashOf[Courier::Internal::Type::Unknown], nil?: true

#timeoutsInteger?



386
# File 'lib/courier/models/send_message_params.rb', line 386

optional :timeouts, Integer, nil?: true