Class: TencentCloud::Thpc::V20230321::AddQueueRequest

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20230321/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.



211
212
213
214
# File 'lib/v20230321/models.rb', line 211

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

Instance Attribute Details

#ClusterIdObject

Parameters:

  • ClusterId:

    集群ID。

  • QueueName:

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



209
210
211
# File 'lib/v20230321/models.rb', line 209

def ClusterId
  @ClusterId
end

#QueueNameObject

Parameters:

  • ClusterId:

    集群ID。

  • QueueName:

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



209
210
211
# File 'lib/v20230321/models.rb', line 209

def QueueName
  @QueueName
end

Instance Method Details

#deserialize(params) ⇒ Object



216
217
218
219
# File 'lib/v20230321/models.rb', line 216

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