Class: TencentCloud::Thpc::V20220401::AddQueueRequest

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

Overview

AddQueue请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(clusterid = nil, queuename = nil) ⇒ AddQueueRequest

Returns a new instance of AddQueueRequest.



207
208
209
210
# File 'lib/v20220401/models.rb', line 207

def initialize(clusterid=nil, queuename=nil)
  @ClusterId = clusterid
  @QueueName = queuename
end

Instance Attribute Details

#ClusterIdObject

Parameters:

  • ClusterId:

    集群ID。

  • QueueName:

    队列名称。
    <li>最多支持32个字符。



205
206
207
# File 'lib/v20220401/models.rb', line 205

def ClusterId
  @ClusterId
end

#QueueNameObject

Parameters:

  • ClusterId:

    集群ID。

  • QueueName:

    队列名称。
    <li>最多支持32个字符。



205
206
207
# File 'lib/v20220401/models.rb', line 205

def QueueName
  @QueueName
end

Instance Method Details

#deserialize(params) ⇒ Object



212
213
214
215
# File 'lib/v20220401/models.rb', line 212

def deserialize(params)
  @ClusterId = params['ClusterId']
  @QueueName = params['QueueName']
end