Class: Telnyx::Models::Texml::Accounts::CallCallsResponse

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

Overview

See Also:

  • Telnyx::Resources::Texml::Accounts::Calls#calls

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(from: nil, status: nil, to: nil) ⇒ CallCallsResponse

Returns a new instance of CallCallsResponse.

Parameters:

  • from (String) (defaults to: nil)
  • status (String) (defaults to: nil)
  • to (String) (defaults to: nil)
  • from: (String) (defaults to: nil)
  • status: (String) (defaults to: nil)
  • to: (String) (defaults to: nil)


# File 'lib/telnyx/models/texml/accounts/call_calls_response.rb', line 24

Instance Attribute Details

#fromString?

Parameters:

  • (String)

Returns:

  • (String, nil)


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

optional :from, String

#statusString?

Parameters:

  • (String)

Returns:

  • (String, nil)


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

optional :status, String

#toString?

Parameters:

  • (String)

Returns:

  • (String, nil)


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

optional :to, String

Instance Method Details

#to_hash{ from: String, status: String, to: String }

Returns:

  • ({ from: String, status: String, to: String })


22
# File 'sig/telnyx/models/texml/accounts/call_calls_response.rbs', line 22

def to_hash: -> { from: String, status: String, to: String }