Class: Telnyx::Models::Portouts::EventRetrieveResponse::Data::WebhookPortoutFocDateChanged

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/telnyx/models/portouts/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, foc_date: nil, user_id: nil) ⇒ Object

The webhook payload for the portout.foc_date_changed event

Parameters:

  • id (String) (defaults to: nil)

    Identifies the port-out order that have the FOC date changed.

  • foc_date (Time) (defaults to: nil)

    ISO 8601 formatted date indicating the new FOC date.

  • user_id (String) (defaults to: nil)

    Identifies the organization that port-out order belongs to.



# File 'lib/telnyx/models/portouts/event_retrieve_response.rb', line 539

Instance Attribute Details

#available_notification_methodsArray<Symbol, Telnyx::Models::Portouts::EventRetrieveResponse::Data::WebhookPortoutFocDateChanged::AvailableNotificationMethod>?

Indicates the notification methods used.



422
423
424
425
426
427
# File 'lib/telnyx/models/portouts/event_retrieve_response.rb', line 422

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

#created_atTime?

ISO 8601 formatted date indicating when the resource was created.

Returns:

  • (Time, nil)


433
# File 'lib/telnyx/models/portouts/event_retrieve_response.rb', line 433

optional :created_at, Time

#event_typeSymbol, ...

Identifies the event type



439
440
# File 'lib/telnyx/models/portouts/event_retrieve_response.rb', line 439

optional :event_type,
enum: -> { Telnyx::Models::Portouts::EventRetrieveResponse::Data::WebhookPortoutFocDateChanged::EventType }

#idString?

Uniquely identifies the event.

Returns:

  • (String, nil)


416
# File 'lib/telnyx/models/portouts/event_retrieve_response.rb', line 416

optional :id, String

#payloadTelnyx::Models::Portouts::EventRetrieveResponse::Data::WebhookPortoutFocDateChanged::Payload?

The webhook payload for the portout.foc_date_changed event



446
447
# File 'lib/telnyx/models/portouts/event_retrieve_response.rb', line 446

optional :payload,
-> { Telnyx::Models::Portouts::EventRetrieveResponse::Data::WebhookPortoutFocDateChanged::Payload }

#payload_statusSymbol, ...

The status of the payload generation.



453
454
# File 'lib/telnyx/models/portouts/event_retrieve_response.rb', line 453

optional :payload_status,
enum: -> { Telnyx::Models::Portouts::EventRetrieveResponse::Data::WebhookPortoutFocDateChanged::PayloadStatus }

#portout_idString?

Identifies the port-out order associated with the event.

Returns:

  • (String, nil)


460
# File 'lib/telnyx/models/portouts/event_retrieve_response.rb', line 460

optional :portout_id, String

#updated_atTime?

ISO 8601 formatted date indicating when the resource was updated.

Returns:

  • (Time, nil)


466
# File 'lib/telnyx/models/portouts/event_retrieve_response.rb', line 466

optional :updated_at, Time

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/telnyx/models/portouts/event_retrieve_response.rb', line 501