Class TextTranslateBatchResponse
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.tmt.v20180321.models.TextTranslateBatchResponse
-
public class TextTranslateBatchResponse extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description TextTranslateBatchResponse()TextTranslateBatchResponse(TextTranslateBatchResponse 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetRequestId()Get 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。StringgetSource()Get 源语言,详见入参SourceStringgetTarget()Get 目标语言,详见入参TargetString[]getTargetTextList()Get 翻译后的文本列表voidsetRequestId(String RequestId)Set 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。voidsetSource(String Source)Set 源语言,详见入参SourcevoidsetTarget(String Target)Set 目标语言,详见入参TargetvoidsetTargetTextList(String[] TargetTextList)Set 翻译后的文本列表voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
TextTranslateBatchResponse
public TextTranslateBatchResponse()
-
TextTranslateBatchResponse
public TextTranslateBatchResponse(TextTranslateBatchResponse 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.
-
-
Method Detail
-
getSource
public String getSource()
Get 源语言,详见入参Source- Returns:
- Source 源语言,详见入参Source
-
setSource
public void setSource(String Source)
Set 源语言,详见入参Source- Parameters:
Source- 源语言,详见入参Source
-
getTarget
public String getTarget()
Get 目标语言,详见入参Target- Returns:
- Target 目标语言,详见入参Target
-
setTarget
public void setTarget(String Target)
Set 目标语言,详见入参Target- Parameters:
Target- 目标语言,详见入参Target
-
getTargetTextList
public String[] getTargetTextList()
Get 翻译后的文本列表- Returns:
- TargetTextList 翻译后的文本列表
-
setTargetTextList
public void setTargetTextList(String[] TargetTextList)
Set 翻译后的文本列表- Parameters:
TargetTextList- 翻译后的文本列表
-
getRequestId
public String getRequestId()
Get 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。- Returns:
- RequestId 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
-
setRequestId
public void setRequestId(String RequestId)
Set 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。- Parameters:
RequestId- 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
-
-