Class: Trycourier::Models::SendMessageParams::Message::Provider

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/trycourier/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

Parameters:



# File 'lib/trycourier/models/send_message_params.rb', line 379


Instance Attribute Details

#if_String?

JS conditional with access to data/profile.

Returns:

  • (String, nil)


359
# File 'lib/trycourier/models/send_message_params.rb', line 359

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

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



364
# File 'lib/trycourier/models/send_message_params.rb', line 364

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

#overrideHash{Symbol=>Object}?

Provider-specific overrides.

Returns:

  • (Hash{Symbol=>Object}, nil)


370
371
372
# File 'lib/trycourier/models/send_message_params.rb', line 370

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

#timeoutsInteger?

Returns:

  • (Integer, nil)


377
# File 'lib/trycourier/models/send_message_params.rb', line 377

optional :timeouts, Integer, nil?: true