public class PreviewReplacedCommandContentRequest extends AbstractModel
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
String |
getCommandId()
Get 要进行替换预览的命令,如果有设置过 DefaultParameters,会与 Parameters 进行叠加,后者覆盖前者。
CommandId 与 Content,必须且只能提供一个。
|
String |
getContent()
Get 要预览的命令内容,经 Base64 编码,长度不可超过 64KB。
CommandId 与 Content,必须且只能提供一个。
|
String |
getParameters()
Get 本次预览采用的自定义参数。字段类型为 json encoded string,如:{\"varA\": \"222\"}。
key 为自定义参数名称,value 为该参数的取值。kv 均为字符串型。
自定义参数最多 20 个。
自定义参数名称需符合以下规范:字符数目上限 64,可选范围【a-zA-Z0-9-_】。
如果将预览的 CommandId 设置过 DefaultParameters,本参数可以为空。
|
void |
setCommandId(String CommandId)
Set 要进行替换预览的命令,如果有设置过 DefaultParameters,会与 Parameters 进行叠加,后者覆盖前者。
CommandId 与 Content,必须且只能提供一个。
|
void |
setContent(String Content)
Set 要预览的命令内容,经 Base64 编码,长度不可超过 64KB。
CommandId 与 Content,必须且只能提供一个。
|
void |
setParameters(String Parameters)
Set 本次预览采用的自定义参数。字段类型为 json encoded string,如:{\"varA\": \"222\"}。
key 为自定义参数名称,value 为该参数的取值。kv 均为字符串型。
自定义参数最多 20 个。
自定义参数名称需符合以下规范:字符数目上限 64,可选范围【a-zA-Z0-9-_】。
如果将预览的 CommandId 设置过 DefaultParameters,本参数可以为空。
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public PreviewReplacedCommandContentRequest()
public PreviewReplacedCommandContentRequest(PreviewReplacedCommandContentRequest source)
public String getParameters()
public void setParameters(String Parameters)
Parameters
- 本次预览采用的自定义参数。字段类型为 json encoded string,如:{\"varA\": \"222\"}。
key 为自定义参数名称,value 为该参数的取值。kv 均为字符串型。
自定义参数最多 20 个。
自定义参数名称需符合以下规范:字符数目上限 64,可选范围【a-zA-Z0-9-_】。
如果将预览的 CommandId 设置过 DefaultParameters,本参数可以为空。public String getCommandId()
public void setCommandId(String CommandId)
CommandId
- 要进行替换预览的命令,如果有设置过 DefaultParameters,会与 Parameters 进行叠加,后者覆盖前者。
CommandId 与 Content,必须且只能提供一个。public String getContent()
public void setContent(String Content)
Content
- 要预览的命令内容,经 Base64 编码,长度不可超过 64KB。
CommandId 与 Content,必须且只能提供一个。Copyright © 2022. All rights reserved.