Class: TencentCloud::Tat::V20201028::PreviewReplacedCommandContentRequest

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20201028/models.rb

Overview

PreviewReplacedCommandContent请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#CommandIdObject

key 为自定义参数名称,value 为该参数的取值。kv 均为字符串型。 自定义参数最多 20 个。 自定义参数名称需符合以下规范:字符数目上限 64,可选范围【a-zA-Z0-9-_】。 如果将预览的 CommandId 设置过 DefaultParameters,本参数可以为空。 可通过 DescribeCommands(查询命令详情) 接口获取。 CommandId 与 Content,必须且只能提供一个。 CommandId 与 Content,必须且只能提供一个。

Parameters:

  • CommandId:

    要进行替换预览的命令。

  • Content:

    要预览的命令内容,经 Base64 编码,长度不可超过 64KB。



2312
2313
2314
# File 'lib/v20201028/models.rb', line 2312

def CommandId
  @CommandId
end

#ContentObject

key 为自定义参数名称,value 为该参数的取值。kv 均为字符串型。 自定义参数最多 20 个。 自定义参数名称需符合以下规范:字符数目上限 64,可选范围【a-zA-Z0-9-_】。 如果将预览的 CommandId 设置过 DefaultParameters,本参数可以为空。 可通过 DescribeCommands(查询命令详情) 接口获取。 CommandId 与 Content,必须且只能提供一个。 CommandId 与 Content,必须且只能提供一个。

Parameters:

  • CommandId:

    要进行替换预览的命令。

  • Content:

    要预览的命令内容,经 Base64 编码,长度不可超过 64KB。



2312
2313
2314
# File 'lib/v20201028/models.rb', line 2312

def Content
  @Content
end

#ParametersObject

key 为自定义参数名称,value 为该参数的取值。kv 均为字符串型。 自定义参数最多 20 个。 自定义参数名称需符合以下规范:字符数目上限 64,可选范围【a-zA-Z0-9-_】。 如果将预览的 CommandId 设置过 DefaultParameters,本参数可以为空。 可通过 DescribeCommands(查询命令详情) 接口获取。 CommandId 与 Content,必须且只能提供一个。 CommandId 与 Content,必须且只能提供一个。

Parameters:

  • CommandId:

    要进行替换预览的命令。

  • Content:

    要预览的命令内容,经 Base64 编码,长度不可超过 64KB。



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