Class: TencentCloud::Tdmq::V20200217::DescribeRocketMQVipInstanceDetailResponse

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

Overview

DescribeRocketMQVipInstanceDetail返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(clusterinfo = nil, instanceconfig = nil, requestid = nil) ⇒ DescribeRocketMQVipInstanceDetailResponse

Returns a new instance of DescribeRocketMQVipInstanceDetailResponse.



7516
7517
7518
7519
7520
# File 'lib/v20200217/models.rb', line 7516

def initialize(clusterinfo=nil, instanceconfig=nil, requestid=nil)
  @ClusterInfo = clusterinfo
  @InstanceConfig = instanceconfig
  @RequestId = requestid
end

Instance Attribute Details

#ClusterInfoObject

Parameters:

  • ClusterInfo:

    集群信息

  • InstanceConfig:

    集群配置

  • RequestId:

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



7514
7515
7516
# File 'lib/v20200217/models.rb', line 7514

def ClusterInfo
  @ClusterInfo
end

#InstanceConfigObject

Parameters:

  • ClusterInfo:

    集群信息

  • InstanceConfig:

    集群配置

  • RequestId:

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



7514
7515
7516
# File 'lib/v20200217/models.rb', line 7514

def InstanceConfig
  @InstanceConfig
end

#RequestIdObject

Parameters:

  • ClusterInfo:

    集群信息

  • InstanceConfig:

    集群配置

  • RequestId:

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



7514
7515
7516
# File 'lib/v20200217/models.rb', line 7514

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



7522
7523
7524
7525
7526
7527
7528
7529
7530
7531
7532
# File 'lib/v20200217/models.rb', line 7522

def deserialize(params)
  unless params['ClusterInfo'].nil?
    @ClusterInfo = RocketMQClusterInfo.new
    @ClusterInfo.deserialize(params['ClusterInfo'])
  end
  unless params['InstanceConfig'].nil?
    @InstanceConfig = RocketMQInstanceConfig.new
    @InstanceConfig.deserialize(params['InstanceConfig'])
  end
  @RequestId = params['RequestId']
end