public class TransDetail extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| TransDetail() | 
| TransDetail(TransDetail 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 | 
|---|---|
| BoundingBox | getBoundingBox()Get 段落文本框位置 | 
| Long | getLineHeight()Get 行高 | 
| Long | getLinesCount()Get 行数 | 
| RotateParagraphRect | getRotateParagraphRect()Get 段落文本旋转信息,只在valid为true时表示坐标有效 | 
| String | getSourceLineText()Get 当前行的原文本 | 
| Long | getSpamCode()Get 正常段落spam_code字段为0;如果存在spam_code字段且值大于0(1: 命中垃圾检查;2: 命中安全策略;3: 其他。),则命中安全检查被过滤。 | 
| String | getTargetLineText()Get 当前行的译文 | 
| void | setBoundingBox(BoundingBox BoundingBox)Set 段落文本框位置 | 
| void | setLineHeight(Long LineHeight)Set 行高 | 
| void | setLinesCount(Long LinesCount)Set 行数 | 
| void | setRotateParagraphRect(RotateParagraphRect RotateParagraphRect)Set 段落文本旋转信息,只在valid为true时表示坐标有效 | 
| void | setSourceLineText(String SourceLineText)Set 当前行的原文本 | 
| void | setSpamCode(Long SpamCode)Set 正常段落spam_code字段为0;如果存在spam_code字段且值大于0(1: 命中垃圾检查;2: 命中安全策略;3: 其他。),则命中安全检查被过滤。 | 
| void | setTargetLineText(String TargetLineText)Set 当前行的译文 | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic TransDetail()
public TransDetail(TransDetail source)
public String getSourceLineText()
public void setSourceLineText(String SourceLineText)
SourceLineText - 当前行的原文本public String getTargetLineText()
public void setTargetLineText(String TargetLineText)
TargetLineText - 当前行的译文public BoundingBox getBoundingBox()
public void setBoundingBox(BoundingBox BoundingBox)
BoundingBox - 段落文本框位置public Long getLinesCount()
public void setLinesCount(Long LinesCount)
LinesCount - 行数public Long getLineHeight()
public void setLineHeight(Long LineHeight)
LineHeight - 行高public Long getSpamCode()
public void setSpamCode(Long SpamCode)
SpamCode - 正常段落spam_code字段为0;如果存在spam_code字段且值大于0(1: 命中垃圾检查;2: 命中安全策略;3: 其他。),则命中安全检查被过滤。public RotateParagraphRect getRotateParagraphRect()
public void setRotateParagraphRect(RotateParagraphRect RotateParagraphRect)
RotateParagraphRect - 段落文本旋转信息,只在valid为true时表示坐标有效Copyright © 2025. All rights reserved.