Class PreviewReplacedCommandContentRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.tat.v20201028.models.PreviewReplacedCommandContentRequest
-
public class PreviewReplacedCommandContentRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description PreviewReplacedCommandContentRequest()PreviewReplacedCommandContentRequest(PreviewReplacedCommandContentRequest 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 StringgetCommandId()Get 要进行替换预览的命令,如果有设置过 DefaultParameters,会与 Parameters 进行叠加,后者覆盖前者。 CommandId 与 Content,必须且只能提供一个。StringgetContent()Get 要预览的命令内容,经 Base64 编码,长度不可超过 64KB。 CommandId 与 Content,必须且只能提供一个。StringgetParameters()Get 本次预览采用的自定义参数。字段类型为 json encoded string,如:{\"varA\": \"222\"}。 key 为自定义参数名称,value 为该参数的取值。kv 均为字符串型。 自定义参数最多 20 个。 自定义参数名称需符合以下规范:字符数目上限 64,可选范围【a-zA-Z0-9-_】。 如果将预览的 CommandId 设置过 DefaultParameters,本参数可以为空。voidsetCommandId(String CommandId)Set 要进行替换预览的命令,如果有设置过 DefaultParameters,会与 Parameters 进行叠加,后者覆盖前者。 CommandId 与 Content,必须且只能提供一个。voidsetContent(String Content)Set 要预览的命令内容,经 Base64 编码,长度不可超过 64KB。 CommandId 与 Content,必须且只能提供一个。voidsetParameters(String Parameters)Set 本次预览采用的自定义参数。字段类型为 json encoded string,如:{\"varA\": \"222\"}。 key 为自定义参数名称,value 为该参数的取值。kv 均为字符串型。 自定义参数最多 20 个。 自定义参数名称需符合以下规范:字符数目上限 64,可选范围【a-zA-Z0-9-_】。 如果将预览的 CommandId 设置过 DefaultParameters,本参数可以为空。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
-
PreviewReplacedCommandContentRequest
public PreviewReplacedCommandContentRequest()
-
PreviewReplacedCommandContentRequest
public PreviewReplacedCommandContentRequest(PreviewReplacedCommandContentRequest 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
-
getParameters
public String getParameters()
Get 本次预览采用的自定义参数。字段类型为 json encoded string,如:{\"varA\": \"222\"}。 key 为自定义参数名称,value 为该参数的取值。kv 均为字符串型。 自定义参数最多 20 个。 自定义参数名称需符合以下规范:字符数目上限 64,可选范围【a-zA-Z0-9-_】。 如果将预览的 CommandId 设置过 DefaultParameters,本参数可以为空。- Returns:
- Parameters 本次预览采用的自定义参数。字段类型为 json encoded string,如:{\"varA\": \"222\"}。 key 为自定义参数名称,value 为该参数的取值。kv 均为字符串型。 自定义参数最多 20 个。 自定义参数名称需符合以下规范:字符数目上限 64,可选范围【a-zA-Z0-9-_】。 如果将预览的 CommandId 设置过 DefaultParameters,本参数可以为空。
-
setParameters
public void setParameters(String Parameters)
Set 本次预览采用的自定义参数。字段类型为 json encoded string,如:{\"varA\": \"222\"}。 key 为自定义参数名称,value 为该参数的取值。kv 均为字符串型。 自定义参数最多 20 个。 自定义参数名称需符合以下规范:字符数目上限 64,可选范围【a-zA-Z0-9-_】。 如果将预览的 CommandId 设置过 DefaultParameters,本参数可以为空。- Parameters:
Parameters- 本次预览采用的自定义参数。字段类型为 json encoded string,如:{\"varA\": \"222\"}。 key 为自定义参数名称,value 为该参数的取值。kv 均为字符串型。 自定义参数最多 20 个。 自定义参数名称需符合以下规范:字符数目上限 64,可选范围【a-zA-Z0-9-_】。 如果将预览的 CommandId 设置过 DefaultParameters,本参数可以为空。
-
getCommandId
public String getCommandId()
Get 要进行替换预览的命令,如果有设置过 DefaultParameters,会与 Parameters 进行叠加,后者覆盖前者。 CommandId 与 Content,必须且只能提供一个。- Returns:
- CommandId 要进行替换预览的命令,如果有设置过 DefaultParameters,会与 Parameters 进行叠加,后者覆盖前者。 CommandId 与 Content,必须且只能提供一个。
-
setCommandId
public void setCommandId(String CommandId)
Set 要进行替换预览的命令,如果有设置过 DefaultParameters,会与 Parameters 进行叠加,后者覆盖前者。 CommandId 与 Content,必须且只能提供一个。- Parameters:
CommandId- 要进行替换预览的命令,如果有设置过 DefaultParameters,会与 Parameters 进行叠加,后者覆盖前者。 CommandId 与 Content,必须且只能提供一个。
-
getContent
public String getContent()
Get 要预览的命令内容,经 Base64 编码,长度不可超过 64KB。 CommandId 与 Content,必须且只能提供一个。- Returns:
- Content 要预览的命令内容,经 Base64 编码,长度不可超过 64KB。 CommandId 与 Content,必须且只能提供一个。
-
setContent
public void setContent(String Content)
Set 要预览的命令内容,经 Base64 编码,长度不可超过 64KB。 CommandId 与 Content,必须且只能提供一个。- Parameters:
Content- 要预览的命令内容,经 Base64 编码,长度不可超过 64KB。 CommandId 与 Content,必须且只能提供一个。
-
-