Class: TencentCloud::Tdmq::V20200217::ModifyClusterResponse

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

Overview

ModifyCluster返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(clusterid = nil, requestid = nil) ⇒ ModifyClusterResponse

Returns a new instance of ModifyClusterResponse.



8559
8560
8561
8562
# File 'lib/v20200217/models.rb', line 8559

def initialize(clusterid=nil, requestid=nil)
  @ClusterId = clusterid
  @RequestId = requestid
end

Instance Attribute Details

#ClusterIdObject

Parameters:

  • ClusterId:

    Pulsar 集群的ID

  • RequestId:

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



8557
8558
8559
# File 'lib/v20200217/models.rb', line 8557

def ClusterId
  @ClusterId
end

#RequestIdObject

Parameters:

  • ClusterId:

    Pulsar 集群的ID

  • RequestId:

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



8557
8558
8559
# File 'lib/v20200217/models.rb', line 8557

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



8564
8565
8566
8567
# File 'lib/v20200217/models.rb', line 8564

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