Class: Trycourier::Models::SendMessageParams::Message::Timeout

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



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

Instance Attribute Details

#channelHash{Symbol=>Integer}?



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

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

#criteriaSymbol, ...



459
460
461
462
463
# File 'lib/trycourier/models/send_message_params.rb', line 459

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

#escalationInteger?



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

optional :escalation, Integer, nil?: true

#messageInteger?



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

optional :message, Integer, nil?: true

#providerHash{Symbol=>Integer}?



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

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