Class: TencentCloud::Tdmq::V20200217::CreateCmqSubscribeResponse

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

Overview

CreateCmqSubscribe返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(subscriptionid = nil, requestid = nil) ⇒ CreateCmqSubscribeResponse

Returns a new instance of CreateCmqSubscribeResponse.



1337
1338
1339
1340
# File 'lib/v20200217/models.rb', line 1337

def initialize(subscriptionid=nil, requestid=nil)
  @SubscriptionId = subscriptionid
  @RequestId = requestid
end

Instance Attribute Details

#RequestIdObject

Parameters:

  • SubscriptionId:

    订阅id

  • RequestId:

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



1335
1336
1337
# File 'lib/v20200217/models.rb', line 1335

def RequestId
  @RequestId
end

#SubscriptionIdObject

Parameters:

  • SubscriptionId:

    订阅id

  • RequestId:

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



1335
1336
1337
# File 'lib/v20200217/models.rb', line 1335

def SubscriptionId
  @SubscriptionId
end

Instance Method Details

#deserialize(params) ⇒ Object



1342
1343
1344
1345
# File 'lib/v20200217/models.rb', line 1342

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