public class TrainingText extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| TrainingText() | 
| TrainingText(TrainingText 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 | getText()Get 文本
注意:此字段可能返回 null,表示取不到有效值。 | 
| String | getTextId()Get 文本ID
当复刻类型为一句话声音复刻时,生成的TextId有效期为7天,且在成功创建一次复刻任务后失效。
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setText(String Text)Set 文本
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setTextId(String TextId)Set 文本ID
当复刻类型为一句话声音复刻时,生成的TextId有效期为7天,且在成功创建一次复刻任务后失效。
注意:此字段可能返回 null,表示取不到有效值。 | 
| 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 TrainingText()
public TrainingText(TrainingText source)
public String getTextId()
public void setTextId(String TextId)
TextId - 文本ID
当复刻类型为一句话声音复刻时,生成的TextId有效期为7天,且在成功创建一次复刻任务后失效。
注意:此字段可能返回 null,表示取不到有效值。public String getText()
public void setText(String Text)
Text - 文本
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2025. All rights reserved.