Class: TencentCloud::Tat::V20201028::PreviewReplacedCommandContentRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tat::V20201028::PreviewReplacedCommandContentRequest
- Defined in:
- lib/v20201028/models.rb
Overview
PreviewReplacedCommandContent请求参数结构体
Instance Attribute Summary collapse
-
#CommandId ⇒ Object
key 为自定义参数名称,value 为该参数的取值。kv 均为字符串型。 自定义参数最多 20 个。 自定义参数名称需符合以下规范:字符数目上限 64,可选范围【a-zA-Z0-9-_】。 如果将预览的 CommandId 设置过 DefaultParameters,本参数可以为空。 可通过 DescribeCommands(查询命令详情) 接口获取。 CommandId 与 Content,必须且只能提供一个。 CommandId 与 Content,必须且只能提供一个。.
-
#Content ⇒ Object
key 为自定义参数名称,value 为该参数的取值。kv 均为字符串型。 自定义参数最多 20 个。 自定义参数名称需符合以下规范:字符数目上限 64,可选范围【a-zA-Z0-9-_】。 如果将预览的 CommandId 设置过 DefaultParameters,本参数可以为空。 可通过 DescribeCommands(查询命令详情) 接口获取。 CommandId 与 Content,必须且只能提供一个。 CommandId 与 Content,必须且只能提供一个。.
-
#Parameters ⇒ Object
key 为自定义参数名称,value 为该参数的取值。kv 均为字符串型。 自定义参数最多 20 个。 自定义参数名称需符合以下规范:字符数目上限 64,可选范围【a-zA-Z0-9-_】。 如果将预览的 CommandId 设置过 DefaultParameters,本参数可以为空。 可通过 DescribeCommands(查询命令详情) 接口获取。 CommandId 与 Content,必须且只能提供一个。 CommandId 与 Content,必须且只能提供一个。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(parameters = nil, commandid = nil, content = nil) ⇒ PreviewReplacedCommandContentRequest
constructor
A new instance of PreviewReplacedCommandContentRequest.
Constructor Details
#initialize(parameters = nil, commandid = nil, content = nil) ⇒ PreviewReplacedCommandContentRequest
Returns a new instance of PreviewReplacedCommandContentRequest.
2314 2315 2316 2317 2318 |
# File 'lib/v20201028/models.rb', line 2314 def initialize(parameters=nil, commandid=nil, content=nil) @Parameters = parameters @CommandId = commandid @Content = content end |
Instance Attribute Details
#CommandId ⇒ Object
key 为自定义参数名称,value 为该参数的取值。kv 均为字符串型。 自定义参数最多 20 个。 自定义参数名称需符合以下规范:字符数目上限 64,可选范围【a-zA-Z0-9-_】。 如果将预览的 CommandId 设置过 DefaultParameters,本参数可以为空。 可通过 DescribeCommands(查询命令详情) 接口获取。 CommandId 与 Content,必须且只能提供一个。 CommandId 与 Content,必须且只能提供一个。
2312 2313 2314 |
# File 'lib/v20201028/models.rb', line 2312 def CommandId @CommandId end |
#Content ⇒ Object
key 为自定义参数名称,value 为该参数的取值。kv 均为字符串型。 自定义参数最多 20 个。 自定义参数名称需符合以下规范:字符数目上限 64,可选范围【a-zA-Z0-9-_】。 如果将预览的 CommandId 设置过 DefaultParameters,本参数可以为空。 可通过 DescribeCommands(查询命令详情) 接口获取。 CommandId 与 Content,必须且只能提供一个。 CommandId 与 Content,必须且只能提供一个。
2312 2313 2314 |
# File 'lib/v20201028/models.rb', line 2312 def Content @Content end |
#Parameters ⇒ Object
key 为自定义参数名称,value 为该参数的取值。kv 均为字符串型。 自定义参数最多 20 个。 自定义参数名称需符合以下规范:字符数目上限 64,可选范围【a-zA-Z0-9-_】。 如果将预览的 CommandId 设置过 DefaultParameters,本参数可以为空。 可通过 DescribeCommands(查询命令详情) 接口获取。 CommandId 与 Content,必须且只能提供一个。 CommandId 与 Content,必须且只能提供一个。
2312 2313 2314 |
# File 'lib/v20201028/models.rb', line 2312 def Parameters @Parameters end |
Instance Method Details
#deserialize(params) ⇒ Object
2320 2321 2322 2323 2324 |
# File 'lib/v20201028/models.rb', line 2320 def deserialize(params) @Parameters = params['Parameters'] @CommandId = params['CommandId'] @Content = params['Content'] end |