public class TextToVoiceResponse extends AbstractModel
header, skipSign
Constructor and Description |
---|
TextToVoiceResponse() |
TextToVoiceResponse(TextToVoiceResponse source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
String |
getAudio()
Get Base64-encoded WAV/MP3 audio data
|
String |
getRequestId()
Get The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId).
|
String |
getSessionId()
Get The `SessionId` of a request
|
Subtitle[] |
getSubtitles()
Get Timestamp information.
|
void |
setAudio(String Audio)
Set Base64-encoded WAV/MP3 audio data
|
void |
setRequestId(String RequestId)
Set The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId).
|
void |
setSessionId(String SessionId)
Set The `SessionId` of a request
|
void |
setSubtitles(Subtitle[] Subtitles)
Set Timestamp information.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public TextToVoiceResponse()
public TextToVoiceResponse(TextToVoiceResponse source)
public String getAudio()
public void setAudio(String Audio)
Audio
- Base64-encoded WAV/MP3 audio datapublic String getSessionId()
public void setSessionId(String SessionId)
SessionId
- The `SessionId` of a requestpublic Subtitle[] getSubtitles()
public void setSubtitles(Subtitle[] Subtitles)
Subtitles
- Timestamp information. If the timestamp feature is not enabled, an empty array will be returned.public String getRequestId()
public void setRequestId(String RequestId)
RequestId
- The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.Copyright © 2025. All rights reserved.