public class PreviewReplacedCommandContentRequest extends AbstractModel
| 构造器和说明 |
|---|
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.
|
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getCommandId()
Get The command to be previewed.
|
String |
getContent()
Get Base64-encoded command to be previewed.
|
String |
getParameters()
Get Custom parameters for the preview.
|
void |
setCommandId(String CommandId)
Set The command to be previewed.
|
void |
setContent(String Content)
Set Base64-encoded command to be previewed.
|
void |
setParameters(String Parameters)
Set Custom parameters for the preview.
|
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, toJsonStringpublic PreviewReplacedCommandContentRequest()
public PreviewReplacedCommandContentRequest(PreviewReplacedCommandContentRequest source)
public String getParameters()
public void setParameters(String Parameters)
Parameters - Custom parameters for the preview. The field type is JSON encoded string. For example, {\"varA\": \"222\"}.
`key` is the name of the custom parameter and "value" is its specified value. Both "key" and "value" are strings.
At most 20 custom parameters are supported.
The name of the custom parameter cannot exceed 64 characters and can only contain [a-z], [A-Z], [0-9], [-_].
This parameter can be left empty if DefaultParameters is set for the previewed CommandId.public String getCommandId()
public void setCommandId(String CommandId)
CommandId - The command to be previewed. If DefaultParameters is set, it is combined with Parameters and Parameters takes priority.
`CommandId` or `Content` must be specified.public String getContent()
public void setContent(String Content)
Content - Base64-encoded command to be previewed. The maximum length is 64 KB.
CommandId or Content must be specified.Copyright © 2022. All rights reserved.