Class: TencentCloud::Tdmq::V20200217::CreateCmqQueueResponse

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

Overview

CreateCmqQueue返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(queueid = nil, requestid = nil) ⇒ CreateCmqQueueResponse

Returns a new instance of CreateCmqQueueResponse.



1273
1274
1275
1276
# File 'lib/v20200217/models.rb', line 1273

def initialize(queueid=nil, requestid=nil)
  @QueueId = queueid
  @RequestId = requestid
end

Instance Attribute Details

#QueueIdObject

Parameters:

  • QueueId:

    创建成功的queueId

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



1271
1272
1273
# File 'lib/v20200217/models.rb', line 1271

def QueueId
  @QueueId
end

#RequestIdObject

Parameters:

  • QueueId:

    创建成功的queueId

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



1271
1272
1273
# File 'lib/v20200217/models.rb', line 1271

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



1278
1279
1280
1281
# File 'lib/v20200217/models.rb', line 1278

def deserialize(params)
  @QueueId = params['QueueId']
  @RequestId = params['RequestId']
end