Class: Courier::Models::JourneySendNode::Message::Delay
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Courier::Models::JourneySendNode::Message::Delay
- Defined in:
- lib/courier/models/journey_send_node.rb,
sig/courier/models/journey_send_node.rbs
Overview
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ Delay
constructor
A new instance of Delay.
- #to_hash ⇒ { until_: String, timezone: String }
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 ⇒ Delay
Returns a new instance of Delay.
101 |
# File 'sig/courier/models/journey_send_node.rbs', line 101
def initialize: (until_: String, ?timezone: String) -> void
|
Instance Attribute Details
#timezone ⇒ String?
95 |
# File 'lib/courier/models/journey_send_node.rb', line 95 optional :timezone, String |
#until_ ⇒ 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 }
103 |
# File 'sig/courier/models/journey_send_node.rbs', line 103
def to_hash: -> { until_: String, timezone: String }
|