Module: Telnyx::Models::Porting::PortingEventNewCommentEvent::AvailableNotificationMethod

Extended by:
Internal::Type::Enum
Defined in:
lib/telnyx/models/porting/porting_event_new_comment_event.rb,
sig/telnyx/models/porting/porting_event_new_comment_event.rbs

Constant Summary collapse

EMAIL =

Returns:

:email
WEBHOOK =

Returns:

:webhook
WEBHOOK_V1 =

Returns:

:webhook_v1

Instance Method Summary collapse

Methods included from Internal::Type::Enum

==, ===, coerce, dump, hash, inspect, to_sorbet_type, values, values

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info

Instance Method Details

#initialize(id: nil, available_notification_methods: nil, created_at: nil, event_type: nil, payload: nil, payload_status: nil, porting_order_id: nil, record_type: nil, updated_at: nil) ⇒ Object

Parameters:

  • (defaults to: nil)

    Uniquely identifies the event.

  • (defaults to: nil)

    Indicates the notification methods used.

  • (defaults to: nil)

    ISO 8601 formatted date indicating when the resource was created.

  • (defaults to: nil)

    Identifies the event type

  • (defaults to: nil)

    The webhook payload for the porting_order.new_comment event

  • (defaults to: nil)

    The status of the payload generation.

  • (defaults to: nil)

    Identifies the porting order associated with the event.

  • (defaults to: nil)

    Identifies the type of the resource.

  • (defaults to: nil)

    ISO 8601 formatted date indicating when the resource was updated.



83
84
85
86
87
88
89
90
91
92
# File 'lib/telnyx/models/porting/porting_event_new_comment_event.rb', line 83

module AvailableNotificationMethod
  extend Telnyx::Internal::Type::Enum

  EMAIL = :email
  WEBHOOK = :webhook
  WEBHOOK_V1 = :webhook_v1

  # @!method self.values
  #   @return [Array<Symbol>]
end

#self?.values::Array[Telnyx::Models::Porting::PortingEventNewCommentEvent::available_notification_method]

Returns:



97
# File 'sig/telnyx/models/porting/porting_event_new_comment_event.rbs', line 97

def self?.values: -> ::Array[Telnyx::Models::Porting::PortingEventNewCommentEvent::available_notification_method]