AudioResponseData Class
- java.
lang. Object - com.
azure. ai. openai. models. AudioResponseData
- com.
Implements
public final class AudioResponseData
implements JsonSerializable<AudioResponseData>
Object containing audio response data and its metadata.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Audio |
fromJson(JsonReader jsonReader)
Reads an instance of Audio |
| String |
getData()
Get the data property: Base64 encoded audio bytes generated by the model, in the format specified in the request. |
|
Offset |
getExpiresAt()
Get the expires |
| String |
getId()
Get the id property: Unique identifier for this audio response. |
| String |
getTranscript()
Get the transcript property: Transcript of the audio generated by the model. |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Method Details
fromJson
public static AudioResponseData fromJson(JsonReader jsonReader)
Reads an instance of AudioResponseData from the JsonReader.
Parameters:
Returns:
Throws:
getData
public String getData()
Get the data property: Base64 encoded audio bytes generated by the model, in the format specified in the request.
Returns:
getExpiresAt
public OffsetDateTime getExpiresAt()
Get the expiresAt property: The Unix timestamp (in seconds) for when this audio response will no longer be accessible on the server for use in multi-turn conversations.
Returns:
getId
public String getId()
Get the id property: Unique identifier for this audio response.
Returns:
getTranscript
public String getTranscript()
Get the transcript property: Transcript of the audio generated by the model.
Returns: