Class: Telnyx::Models::PortingOrdersActivationJob::ActivationWindow

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

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

#initializeActivationWindow

Returns a new instance of ActivationWindow.

Parameters:

  • end_at: (Time)
  • start_at: (Time)


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_atTime?

ISO 8601 formatted date indicating when the activation window ends

Parameters:

  • (Time)

Returns:

  • (Time, nil)


96
# File 'lib/telnyx/models/porting_orders_activation_job.rb', line 96

optional :end_at, Time

#start_atTime?

ISO 8601 formatted date indicating when the activation window starts

Parameters:

  • (Time)

Returns:

  • (Time, nil)


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 }

Returns:

  • ({ 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 }