Class: Telnyx::Models::MobilePhoneNumber::CallRecording

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/telnyx/models/mobile_phone_number.rb

Overview

See Also:

Defined Under Namespace

Modules: InboundCallRecordingChannels, InboundCallRecordingFormat

Instance Attribute Summary collapse

Class Method 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(inbound_call_recording_channels: nil, inbound_call_recording_enabled: nil, inbound_call_recording_format: nil) ⇒ Object

Parameters:



# File 'lib/telnyx/models/mobile_phone_number.rb', line 240

Instance Attribute Details

#inbound_call_recording_channelsSymbol, ...



226
227
# File 'lib/telnyx/models/mobile_phone_number.rb', line 226

optional :inbound_call_recording_channels,
enum: -> { Telnyx::MobilePhoneNumber::CallRecording::InboundCallRecordingChannels }

#inbound_call_recording_enabledBoolean?

Returns:

  • (Boolean, nil)


232
# File 'lib/telnyx/models/mobile_phone_number.rb', line 232

optional :inbound_call_recording_enabled, Telnyx::Internal::Type::Boolean

#inbound_call_recording_formatSymbol, ...



237
238
# File 'lib/telnyx/models/mobile_phone_number.rb', line 237

optional :inbound_call_recording_format,
enum: -> { Telnyx::MobilePhoneNumber::CallRecording::InboundCallRecordingFormat }

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/telnyx/models/mobile_phone_number.rb', line 252