Class: Telnyx::Models::Texml::Accounts::CallStreamsJsonResponse

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/telnyx/models/texml/accounts/call_streams_json_response.rb

Overview

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, name: 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)
  • name (String) (defaults to: nil)

    The user specified name of Stream.

  • sid (String) (defaults to: nil)

    Identifier of a resource.

  • status (Symbol, Telnyx::Models::Texml::Accounts::CallStreamsJsonResponse::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/call_streams_json_response.rb', line 48

Instance Attribute Details

#account_sidString?

Returns:

  • (String, nil)


12
# File 'lib/telnyx/models/texml/accounts/call_streams_json_response.rb', line 12

optional :account_sid, String

#call_sidString?

Returns:

  • (String, nil)


17
# File 'lib/telnyx/models/texml/accounts/call_streams_json_response.rb', line 17

optional :call_sid, String

#date_updatedTime?

Returns:

  • (Time, nil)


22
# File 'lib/telnyx/models/texml/accounts/call_streams_json_response.rb', line 22

optional :date_updated, Time

#nameString?

The user specified name of Stream.

Returns:

  • (String, nil)


28
# File 'lib/telnyx/models/texml/accounts/call_streams_json_response.rb', line 28

optional :name, String

#sidString?

Identifier of a resource.

Returns:

  • (String, nil)


34
# File 'lib/telnyx/models/texml/accounts/call_streams_json_response.rb', line 34

optional :sid, String

#statusSymbol, ...

The status of the streaming.



40
# File 'lib/telnyx/models/texml/accounts/call_streams_json_response.rb', line 40

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

#uriString?

The relative URI for this streaming resource.

Returns:

  • (String, nil)


46
# File 'lib/telnyx/models/texml/accounts/call_streams_json_response.rb', line 46

optional :uri, String