public class CommandDocument extends AbstractModel
Constructor and Description |
---|
CommandDocument() |
CommandDocument(CommandDocument 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 |
getCommandType()
Get 命令类型。
|
String |
getContent()
Get Base64 编码后的执行命令。
|
Long |
getTimeout()
Get 超时时间。
|
String |
getUsername()
Get 执行用户。
|
String |
getWorkingDirectory()
Get 执行路径。
|
void |
setCommandType(String CommandType)
Set 命令类型。
|
void |
setContent(String Content)
Set Base64 编码后的执行命令。
|
void |
setTimeout(Long Timeout)
Set 超时时间。
|
void |
setUsername(String Username)
Set 执行用户。
|
void |
setWorkingDirectory(String WorkingDirectory)
Set 执行路径。
|
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 CommandDocument()
public CommandDocument(CommandDocument source)
public String getContent()
public void setContent(String Content)
Content
- Base64 编码后的执行命令。public String getCommandType()
public void setCommandType(String CommandType)
CommandType
- 命令类型。public Long getTimeout()
public void setTimeout(Long Timeout)
Timeout
- 超时时间。public String getWorkingDirectory()
public void setWorkingDirectory(String WorkingDirectory)
WorkingDirectory
- 执行路径。public String getUsername()
public void setUsername(String Username)
Username
- 执行用户。Copyright © 2022. All rights reserved.