Class: Telnyx::Models::Legacy::Reporting::UsageReportRetrieveSpeechToTextResponse

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

Overview

See Also:

  • Telnyx::Resources::Legacy::Reporting::UsageReports#retrieve_speech_to_text

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(data: nil) ⇒ UsageReportRetrieveSpeechToTextResponse

Returns a new instance of UsageReportRetrieveSpeechToTextResponse.

Parameters:

  • data (Hash{Symbol=>Object}) (defaults to: nil)
  • data: (::Hash[Symbol, top]) (defaults to: nil)


# File 'lib/telnyx/models/legacy/reporting/usage_report_retrieve_speech_to_text_response.rb', line 14

Instance Attribute Details

#dataHash{Symbol=>Object}?

Parameters:

  • (::Hash[Symbol, top])

Returns:

  • (Hash{Symbol=>Object}, nil)


12
# File 'lib/telnyx/models/legacy/reporting/usage_report_retrieve_speech_to_text_response.rb', line 12

optional :data, Telnyx::Internal::Type::HashOf[Telnyx::Internal::Type::Unknown]

Instance Method Details

#to_hash{ data: ::Hash[Symbol, top] }

Returns:

  • ({ data: ::Hash[Symbol, top] })


15
# File 'sig/telnyx/models/legacy/reporting/usage_report_retrieve_speech_to_text_response.rbs', line 15

def to_hash: -> { data: ::Hash[Symbol, top] }