Package com.openai.models.realtime
Class RealtimeTranslationSession.Audio.Input.NoiseReduction
-
- All Implemented Interfaces:
public final class RealtimeTranslationSession.Audio.Input.NoiseReductionOptional input noise reduction.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classRealtimeTranslationSession.Audio.Input.NoiseReduction.BuilderA builder for NoiseReduction.
-
Method Summary
Modifier and Type Method Description final NoiseReductionTypetype()Type of noise reduction. final JsonField<NoiseReductionType>_type()Returns the raw JSON value of type. final Map<String, JsonValue>_additionalProperties()final RealtimeTranslationSession.Audio.Input.NoiseReduction.BuildertoBuilder()final RealtimeTranslationSession.Audio.Input.NoiseReductionvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static RealtimeTranslationSession.Audio.Input.NoiseReduction.Builderbuilder()Returns a mutable builder for constructing an instance of NoiseReduction. -
-
Method Detail
-
type
final NoiseReductionType type()
Type of noise reduction.
near_fieldis for close-talking microphones such as headphones,far_fieldis for far-field microphones such as laptop or conference room microphones.
-
_type
final JsonField<NoiseReductionType> _type()
Returns the raw JSON value of type.
Unlike type, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final RealtimeTranslationSession.Audio.Input.NoiseReduction.Builder toBuilder()
-
validate
final RealtimeTranslationSession.Audio.Input.NoiseReduction validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static RealtimeTranslationSession.Audio.Input.NoiseReduction.Builder builder()
Returns a mutable builder for constructing an instance of NoiseReduction.
The following fields are required:
.type()
-
-
-
-