Class: Telnyx::Models::SessionStatusChangedWebhookEvent::Data

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/telnyx/models/session_status_changed_webhook_event.rb,
sig/telnyx/models/session_status_changed_webhook_event.rbs

Overview

See Also:

  • Telnyx::Models::SessionStatusChangedWebhookEvent#data

Instance Attribute 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

#initializeObject



56
# File 'sig/telnyx/models/session_status_changed_webhook_event.rbs', line 56

def initialize: (

Instance Attribute Details

#recordingBoolean

Whether the session is recording at this lifecycle edge.

Parameters:

  • value (Boolean)

Returns:

  • (Boolean)


53
# File 'lib/telnyx/models/session_status_changed_webhook_event.rb', line 53

required :recording, Telnyx::Internal::Type::Boolean

#session_idString

The meeting session this event belongs to.

Parameters:

  • value (String)

Returns:

  • (String)


59
# File 'lib/telnyx/models/session_status_changed_webhook_event.rb', line 59

required :session_id, String

#statusString

The new session status.

Parameters:

  • value (String)

Returns:

  • (String)


65
# File 'lib/telnyx/models/session_status_changed_webhook_event.rb', line 65

required :status, String

#status_detailString?

Additional detail about the status (for example timeout_exceeded_everyone_left or cancelled), or null.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


72
# File 'lib/telnyx/models/session_status_changed_webhook_event.rb', line 72

required :status_detail, String, nil?: true

Instance Method Details

#to_hash{

Returns:

  • ({)


63
# File 'sig/telnyx/models/session_status_changed_webhook_event.rbs', line 63

def to_hash: -> {