Class: Courier::Models::SendMessageParams::Message::Timeout

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

Overview

See Also:

Defined Under Namespace

Modules: Criteria

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(channel: nil, criteria: nil, escalation: nil, message: nil, provider: nil) ⇒ Object

Parameters:



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

Instance Attribute Details

#channelHash{Symbol=>Integer}?

Returns:

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


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

optional :channel, Courier::Internal::Type::HashOf[Integer], nil?: true

#criteriaSymbol, ...



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

optional :criteria, enum: -> { Courier::SendMessageParams::Message::Timeout::Criteria }, nil?: true

#escalationInteger?

Returns:

  • (Integer, nil)


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

optional :escalation, Integer, nil?: true

#messageInteger?

Returns:

  • (Integer, nil)


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

optional :message, Integer, nil?: true

#providerHash{Symbol=>Integer}?

Returns:

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


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

optional :provider, Courier::Internal::Type::HashOf[Integer], nil?: true