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

Parameters:



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


Instance Attribute Details

#channelHash{Symbol=>Integer}?

Returns:

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


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

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

#criteriaSymbol, ...



446
447
448
449
450
# File 'lib/trycourier/models/send_message_params.rb', line 446

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

#escalationInteger?

Returns:

  • (Integer, nil)


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

optional :escalation, Integer, nil?: true

#messageInteger?

Returns:

  • (Integer, nil)


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

optional :message, Integer, nil?: true

#providerHash{Symbol=>Integer}?

Returns:

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


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

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