Class: SurgeAPI::Models::RecordingRetrieveResponse

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/surge_api/models/recording_retrieve_response.rb

Overview

Defined Under Namespace

Classes: Call

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(id:, call:, duration:) ⇒ Object

A call recording

Parameters:



# File 'lib/surge_api/models/recording_retrieve_response.rb', line 25

Instance Attribute Details

#callSurgeAPI::Models::RecordingRetrieveResponse::Call

The call that produced this recording



17
# File 'lib/surge_api/models/recording_retrieve_response.rb', line 17

required :call, -> { SurgeAPI::Models::RecordingRetrieveResponse::Call }

#durationInteger

The duration of the recording in seconds

Returns:

  • (Integer)


23
# File 'lib/surge_api/models/recording_retrieve_response.rb', line 23

required :duration, Integer

#idString

The unique identifier for the recording

Returns:

  • (String)


11
# File 'lib/surge_api/models/recording_retrieve_response.rb', line 11

required :id, String