AudioResponseFormat

public final class AudioResponseFormat

Configuration for audio output format.

Types

Link copied to clipboard
public final class Builder

A builder for AudioResponseFormat.

Link copied to clipboard
public final class Delivery implements Enum

The delivery mode for the audio output.

Link copied to clipboard
public final class MimeType implements Enum

The MIME type of the audio output.

Functions

Link copied to clipboard
public final Map<String, JsonValue> _additionalProperties()
Link copied to clipboard
public final JsonField<Integer> _bitRate()

Returns the raw JSON value of bitRate.

Link copied to clipboard
public final JsonField<AudioResponseFormat.Delivery> _delivery()

Returns the raw JSON value of delivery.

Link copied to clipboard
public final JsonField<AudioResponseFormat.MimeType> _mimeType()

Returns the raw JSON value of mimeType.

Link copied to clipboard
public final JsonField<Integer> _sampleRate()

Returns the raw JSON value of sampleRate.

Link copied to clipboard
public final JsonValue _type()

Expected to always return the following:

Link copied to clipboard
public final Optional<Integer> bitRate()

Bit rate in bits per second (bps). Only applicable for compressed formats (MP3, Opus).

Link copied to clipboard
public final static AudioResponseFormat.Builder builder()

Returns a mutable builder for constructing an instance of AudioResponseFormat.

Link copied to clipboard

The delivery mode for the audio output.

Link copied to clipboard
public Boolean equals(Object other)
Link copied to clipboard
public Integer hashCode()
Link copied to clipboard
public final Boolean isValid()
Link copied to clipboard

The MIME type of the audio output.

Link copied to clipboard
public final Optional<Integer> sampleRate()

Sample rate in Hz.

Link copied to clipboard
Link copied to clipboard
public String toString()
Link copied to clipboard