Package com.intellijava.core.model
Class AudioResponse
java.lang.Object
com.intellijava.core.model.BaseRemoteModel
com.intellijava.core.model.AudioResponse
AudioResponse represents the response from the speech API that contains the audio content.
- Author:
- github.com/Barqawiz
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the audio content generated from a text.void
setAudioContent
(String audioContent) Sets the audio content generated from a text.Methods inherited from class com.intellijava.core.model.BaseRemoteModel
getId, setId
-
Constructor Details
-
AudioResponse
public AudioResponse()Default AudioResponse constructor.
-
-
Method Details
-
getAudioContent
Gets the audio content generated from a text.- Returns:
- audio content as a base64 string.
-
setAudioContent
Sets the audio content generated from a text.- Parameters:
audioContent
- audio content as a base64 string.
-