Class: Telnyx::Models::Porting::EventRetrieveResponse::Data::PortingEventSplitEvent

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/telnyx/models/porting/event_retrieve_response.rb

Defined Under Namespace

Modules: AvailableNotificationMethod, EventType, PayloadStatus Classes: Payload

Instance Attribute Summary collapse

Class Method 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(id: nil) ⇒ Object

The new porting order that the phone numbers was moved to.

Parameters:

  • id (String) (defaults to: nil)

    Identifies the porting order that was split.



# File 'lib/telnyx/models/porting/event_retrieve_response.rb', line 995

Instance Attribute Details

#available_notification_methodsArray<Symbol, Telnyx::Models::Porting::EventRetrieveResponse::Data::PortingEventSplitEvent::AvailableNotificationMethod>?

Indicates the notification methods used.



828
829
830
831
832
833
# File 'lib/telnyx/models/porting/event_retrieve_response.rb', line 828

optional :available_notification_methods,
-> do
  Telnyx::Internal::Type::ArrayOf[
    enum: Telnyx::Models::Porting::EventRetrieveResponse::Data::PortingEventSplitEvent::AvailableNotificationMethod
  ]
end

#created_atTime?

ISO 8601 formatted date indicating when the resource was created.

Returns:

  • (Time, nil)


839
# File 'lib/telnyx/models/porting/event_retrieve_response.rb', line 839

optional :created_at, Time

#event_typeSymbol, ...

Identifies the event type



845
846
# File 'lib/telnyx/models/porting/event_retrieve_response.rb', line 845

optional :event_type,
enum: -> { Telnyx::Models::Porting::EventRetrieveResponse::Data::PortingEventSplitEvent::EventType }

#idString?

Uniquely identifies the event.

Returns:

  • (String, nil)


822
# File 'lib/telnyx/models/porting/event_retrieve_response.rb', line 822

optional :id, String

#payloadTelnyx::Models::Porting::EventRetrieveResponse::Data::PortingEventSplitEvent::Payload?

The webhook payload for the porting_order.split event



852
853
# File 'lib/telnyx/models/porting/event_retrieve_response.rb', line 852

optional :payload,
-> { Telnyx::Models::Porting::EventRetrieveResponse::Data::PortingEventSplitEvent::Payload }

#payload_statusSymbol, ...

The status of the payload generation.



859
860
# File 'lib/telnyx/models/porting/event_retrieve_response.rb', line 859

optional :payload_status,
enum: -> { Telnyx::Models::Porting::EventRetrieveResponse::Data::PortingEventSplitEvent::PayloadStatus }

#porting_order_idString?

Identifies the porting order associated with the event.

Returns:

  • (String, nil)


866
# File 'lib/telnyx/models/porting/event_retrieve_response.rb', line 866

optional :porting_order_id, String

#updated_atTime?

ISO 8601 formatted date indicating when the resource was updated.

Returns:

  • (Time, nil)


872
# File 'lib/telnyx/models/porting/event_retrieve_response.rb', line 872

optional :updated_at, Time

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/telnyx/models/porting/event_retrieve_response.rb', line 908