Class: Telnyx::Models::Texml::Accounts::Calls::StreamStreamingSidJsonResponse

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/telnyx/models/texml/accounts/calls/stream_streaming_sid_json_response.rb,
sig/telnyx/models/texml/accounts/calls/stream_streaming_sid_json_response.rbs

Overview

See Also:

  • Telnyx::Resources::Texml::Accounts::Calls::Streams#streaming_sid_json

Defined Under Namespace

Modules: Status

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

#initialize(account_sid: nil, call_sid: nil, date_updated: nil, sid: nil, status: nil, uri: nil) ⇒ Object

Parameters:

  • account_sid (String) (defaults to: nil)
  • call_sid (String) (defaults to: nil)
  • date_updated (Time) (defaults to: nil)
  • sid (String) (defaults to: nil)

    Identifier of a resource.

  • status (Symbol, Telnyx::Models::Texml::Accounts::Calls::StreamStreamingSidJsonResponse::Status) (defaults to: nil)

    The status of the streaming.

  • uri (String) (defaults to: nil)

    The relative URI for this streaming resource.



# File 'lib/telnyx/models/texml/accounts/calls/stream_streaming_sid_json_response.rb', line 44

Instance Attribute Details

#account_sidString?

Parameters:

  • (String)

Returns:

  • (String, nil)


13
# File 'lib/telnyx/models/texml/accounts/calls/stream_streaming_sid_json_response.rb', line 13

optional :account_sid, String

#call_sidString?

Parameters:

  • (String)

Returns:

  • (String, nil)


18
# File 'lib/telnyx/models/texml/accounts/calls/stream_streaming_sid_json_response.rb', line 18

optional :call_sid, String

#date_updatedTime?

Parameters:

  • (Time)

Returns:

  • (Time, nil)


23
# File 'lib/telnyx/models/texml/accounts/calls/stream_streaming_sid_json_response.rb', line 23

optional :date_updated, Time

#sidString?

Identifier of a resource.

Parameters:

  • (String)

Returns:

  • (String, nil)


29
# File 'lib/telnyx/models/texml/accounts/calls/stream_streaming_sid_json_response.rb', line 29

optional :sid, String

#statusSymbol, ...

The status of the streaming.



35
36
# File 'lib/telnyx/models/texml/accounts/calls/stream_streaming_sid_json_response.rb', line 35

optional :status,
enum: -> { Telnyx::Models::Texml::Accounts::Calls::StreamStreamingSidJsonResponse::Status }

#uriString?

The relative URI for this streaming resource.

Parameters:

  • (String)

Returns:

  • (String, nil)


42
# File 'lib/telnyx/models/texml/accounts/calls/stream_streaming_sid_json_response.rb', line 42

optional :uri, String

Instance Method Details

#to_hash{

Returns:

  • ({)


52
# File 'sig/telnyx/models/texml/accounts/calls/stream_streaming_sid_json_response.rbs', line 52

def to_hash: -> {