Class: OpenAI::Models::Realtime::RealtimeTranslationSessionCreateRequest::Audio::Input::NoiseReduction
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Realtime::RealtimeTranslationSessionCreateRequest::Audio::Input::NoiseReduction
- Defined in:
- lib/openai/models/realtime/realtime_translation_session_create_request.rb,
sig/openai/models/realtime/realtime_translation_session_create_request.rbs
Overview
Instance Attribute Summary collapse
-
#type ⇒ Symbol, OpenAI::Models::Realtime::NoiseReductionType
Type of noise reduction.
Instance Method Summary collapse
- #initialize ⇒ Object constructor
- #to_hash ⇒ {
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 ⇒ Object
85 |
# File 'sig/openai/models/realtime/realtime_translation_session_create_request.rbs', line 85
def initialize: (
|
Instance Attribute Details
#type ⇒ Symbol, OpenAI::Models::Realtime::NoiseReductionType
Type of noise reduction. near_field is for close-talking microphones such as
headphones, far_field is for far-field microphones such as laptop or
conference room microphones.
90 |
# File 'lib/openai/models/realtime/realtime_translation_session_create_request.rb', line 90 required :type, enum: -> { OpenAI::Realtime::NoiseReductionType } |
Instance Method Details
#to_hash ⇒ {
89 |
# File 'sig/openai/models/realtime/realtime_translation_session_create_request.rbs', line 89
def to_hash: -> {
|