Class: Telnyx::Models::Porting::EventRetrieveResponse::Data::PortingEventWithoutWebhook

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

Defined Under Namespace

Modules: AvailableNotificationMethod, EventType, PayloadStatus

Instance Attribute Summary collapse

Class Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, #initialize, 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

This class inherits a constructor from Telnyx::Internal::Type::BaseModel

Instance Attribute Details

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

Indicates the notification methods used.



1027
1028
1029
1030
1031
1032
# File 'lib/telnyx/models/porting/event_retrieve_response.rb', line 1027

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

#created_atTime?

ISO 8601 formatted date indicating when the resource was created.

Returns:

  • (Time, nil)


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

optional :created_at, Time

#event_typeSymbol, ...

Identifies the event type



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

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

#idString?

Uniquely identifies the event.

Returns:

  • (String, nil)


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

optional :id, String

#payloadnil

Returns:

  • (nil)


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

optional :payload, NilClass

#payload_statusSymbol, ...

The status of the payload generation.



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

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

#porting_order_idString?

Identifies the porting order associated with the event.

Returns:

  • (String, nil)


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

optional :porting_order_id, String

#updated_atTime?

ISO 8601 formatted date indicating when the resource was updated.

Returns:

  • (Time, nil)


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

optional :updated_at, Time

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


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