Class: Telnyx::Models::PortingOrdersActivationJob::ActivationWindow
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::PortingOrdersActivationJob::ActivationWindow
- Defined in:
- lib/telnyx/models/porting_orders_activation_job.rb,
sig/telnyx/models/porting_orders_activation_job.rbs
Instance Attribute Summary collapse
-
#end_at ⇒ Time?
ISO 8601 formatted date indicating when the activation window ends.
-
#start_at ⇒ Time?
ISO 8601 formatted date indicating when the activation window starts.
Instance Method Summary collapse
-
#initialize ⇒ ActivationWindow
constructor
A new instance of ActivationWindow.
- #to_hash ⇒ { end_at: Time, start_at: Time }
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 ⇒ ActivationWindow
Returns a new instance of ActivationWindow.
98 |
# File 'sig/telnyx/models/porting_orders_activation_job.rbs', line 98
def initialize: (?end_at: Time, ?start_at: Time) -> void
|
Instance Attribute Details
#end_at ⇒ Time?
ISO 8601 formatted date indicating when the activation window ends
96 |
# File 'lib/telnyx/models/porting_orders_activation_job.rb', line 96 optional :end_at, Time |
#start_at ⇒ Time?
ISO 8601 formatted date indicating when the activation window starts
102 |
# File 'lib/telnyx/models/porting_orders_activation_job.rb', line 102 optional :start_at, Time |
Instance Method Details
#to_hash ⇒ { end_at: Time, start_at: Time }
100 |
# File 'sig/telnyx/models/porting_orders_activation_job.rbs', line 100
def to_hash: -> { end_at: Time, start_at: Time }
|