Class: Courier::Models::JourneySendNode::Message::Delay

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/courier/models/journey_send_node.rb,
sig/courier/models/journey_send_node.rbs

Overview

See Also:

  • Courier::Models::JourneySendNode::Message#delay

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

#initializeDelay

Returns a new instance of Delay.

Parameters:

  • until_: (String)
  • timezone: (String)


101
# File 'sig/courier/models/journey_send_node.rbs', line 101

def initialize: (until_: String, ?timezone: String) -> void

Instance Attribute Details

#timezoneString?

Parameters:

  • (String)

Returns:

  • (String, nil)


95
# File 'lib/courier/models/journey_send_node.rb', line 95

optional :timezone, String

#until_String

Parameters:

  • value (String)

Returns:

  • (String)


90
# File 'lib/courier/models/journey_send_node.rb', line 90

required :until_, String, api_name: :until

Instance Method Details

#to_hash{ until_: String, timezone: String }

Returns:

  • ({ until_: String, timezone: String })


103
# File 'sig/courier/models/journey_send_node.rbs', line 103

def to_hash: -> { until_: String, timezone: String }