Class: Telnyx::Models::Portouts::WebhookPortoutStatusChanged
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::Portouts::WebhookPortoutStatusChanged
- Defined in:
- lib/telnyx/models/portouts/webhook_portout_status_changed.rb,
sig/telnyx/models/portouts/webhook_portout_status_changed.rbs
Defined Under Namespace
Modules: AvailableNotificationMethod, EventType, PayloadStatus Classes: Payload
Instance Attribute Summary collapse
-
#available_notification_methods ⇒ Array<Symbol, Telnyx::Models::Portouts::WebhookPortoutStatusChanged::AvailableNotificationMethod>?
Indicates the notification methods used.
-
#created_at ⇒ Time?
ISO 8601 formatted date indicating when the resource was created.
-
#event_type ⇒ Symbol, ...
Identifies the event type.
-
#id ⇒ String?
Uniquely identifies the event.
-
#payload ⇒ Telnyx::Models::Portouts::WebhookPortoutStatusChanged::Payload?
The webhook payload for the portout.status_changed event.
-
#payload_status ⇒ Symbol, ...
The status of the payload generation.
-
#portout_id ⇒ String?
Identifies the port-out order associated with the event.
-
#record_type ⇒ String?
readonly
Returns the value of attribute record_type.
-
#updated_at ⇒ Time?
ISO 8601 formatted date indicating when the resource was updated.
Class Method Summary collapse
Instance Method Summary collapse
- #initialize ⇒ Object constructor
- #record_type ⇒ String readonly
- #to_hash ⇒ {
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 ⇒ Object
62 |
# File 'sig/telnyx/models/portouts/webhook_portout_status_changed.rbs', line 62
def initialize: (
|
Instance Attribute Details
#available_notification_methods ⇒ Array<Symbol, Telnyx::Models::Portouts::WebhookPortoutStatusChanged::AvailableNotificationMethod>?
Indicates the notification methods used.
17 18 |
# File 'lib/telnyx/models/portouts/webhook_portout_status_changed.rb', line 17 optional :available_notification_methods, -> { Telnyx::Internal::Type::ArrayOf[enum: Telnyx::Portouts::WebhookPortoutStatusChanged::AvailableNotificationMethod] } |
#created_at ⇒ Time?
ISO 8601 formatted date indicating when the resource was created.
24 |
# File 'lib/telnyx/models/portouts/webhook_portout_status_changed.rb', line 24 optional :created_at, Time |
#event_type ⇒ Symbol, ...
Identifies the event type
30 |
# File 'lib/telnyx/models/portouts/webhook_portout_status_changed.rb', line 30 optional :event_type, enum: -> { Telnyx::Portouts::WebhookPortoutStatusChanged::EventType } |
#id ⇒ String?
Uniquely identifies the event.
11 |
# File 'lib/telnyx/models/portouts/webhook_portout_status_changed.rb', line 11 optional :id, String |
#payload ⇒ Telnyx::Models::Portouts::WebhookPortoutStatusChanged::Payload?
The webhook payload for the portout.status_changed event
36 |
# File 'lib/telnyx/models/portouts/webhook_portout_status_changed.rb', line 36 optional :payload, -> { Telnyx::Portouts::WebhookPortoutStatusChanged::Payload } |
#payload_status ⇒ Symbol, ...
The status of the payload generation.
42 |
# File 'lib/telnyx/models/portouts/webhook_portout_status_changed.rb', line 42 optional :payload_status, enum: -> { Telnyx::Portouts::WebhookPortoutStatusChanged::PayloadStatus } |
#portout_id ⇒ String?
Identifies the port-out order associated with the event.
48 |
# File 'lib/telnyx/models/portouts/webhook_portout_status_changed.rb', line 48 optional :portout_id, String |
#record_type ⇒ String? (readonly)
Returns the value of attribute record_type.
58 59 60 |
# File 'sig/telnyx/models/portouts/webhook_portout_status_changed.rbs', line 58 def record_type @record_type end |
#updated_at ⇒ Time?
ISO 8601 formatted date indicating when the resource was updated.
54 |
# File 'lib/telnyx/models/portouts/webhook_portout_status_changed.rb', line 54 optional :updated_at, Time |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/telnyx/models/portouts/webhook_portout_status_changed.rb', line 89
|
Instance Method Details
#record_type= ⇒ String (readonly)
60 |
# File 'sig/telnyx/models/portouts/webhook_portout_status_changed.rbs', line 60
def record_type=: (String) -> String
|
#to_hash ⇒ {
74 |
# File 'sig/telnyx/models/portouts/webhook_portout_status_changed.rbs', line 74
def to_hash: -> {
|