Class Embellish
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.nlp.v20190408.models.Embellish
-
public class Embellish extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetEmbellishType()Get 润色类型。类型如下: expansion:扩写 rewriting:改写 translation_m2a:从现代文改写为古文 translation_a2m:从古文改写为现代文 注意:此字段可能返回 null,表示取不到有效值。StringgetText()Get 润色后的文本。 注意:此字段可能返回 null,表示取不到有效值。voidsetEmbellishType(String EmbellishType)Set 润色类型。类型如下: expansion:扩写 rewriting:改写 translation_m2a:从现代文改写为古文 translation_a2m:从古文改写为现代文 注意:此字段可能返回 null,表示取不到有效值。voidsetText(String Text)Set 润色后的文本。 注意:此字段可能返回 null,表示取不到有效值。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
-
Embellish
public Embellish()
-
Embellish
public Embellish(Embellish 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
-
getText
public String getText()
Get 润色后的文本。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Text 润色后的文本。 注意:此字段可能返回 null,表示取不到有效值。
-
setText
public void setText(String Text)
Set 润色后的文本。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Text- 润色后的文本。 注意:此字段可能返回 null,表示取不到有效值。
-
getEmbellishType
public String getEmbellishType()
Get 润色类型。类型如下: expansion:扩写 rewriting:改写 translation_m2a:从现代文改写为古文 translation_a2m:从古文改写为现代文 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- EmbellishType 润色类型。类型如下: expansion:扩写 rewriting:改写 translation_m2a:从现代文改写为古文 translation_a2m:从古文改写为现代文 注意:此字段可能返回 null,表示取不到有效值。
-
setEmbellishType
public void setEmbellishType(String EmbellishType)
Set 润色类型。类型如下: expansion:扩写 rewriting:改写 translation_m2a:从现代文改写为古文 translation_a2m:从古文改写为现代文 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
EmbellishType- 润色类型。类型如下: expansion:扩写 rewriting:改写 translation_m2a:从现代文改写为古文 translation_a2m:从古文改写为现代文 注意:此字段可能返回 null,表示取不到有效值。
-
-