Class: TencentCloud::Tdmq::V20200217::DescribeRocketMQVipInstancesResponse

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

Overview

DescribeRocketMQVipInstances返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(totalcount = nil, instances = nil, requestid = nil) ⇒ DescribeRocketMQVipInstancesResponse

Returns a new instance of DescribeRocketMQVipInstancesResponse.



7580
7581
7582
7583
7584
# File 'lib/v20200217/models.rb', line 7580

def initialize(totalcount=nil, instances=nil, requestid=nil)
  @TotalCount = totalcount
  @Instances = instances
  @RequestId = requestid
end

Instance Attribute Details

#InstancesObject

Parameters:

  • TotalCount:

    未分页的总数目

  • Instances:

    实例信息列表

  • RequestId:

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



7578
7579
7580
# File 'lib/v20200217/models.rb', line 7578

def Instances
  @Instances
end

#RequestIdObject

Parameters:

  • TotalCount:

    未分页的总数目

  • Instances:

    实例信息列表

  • RequestId:

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



7578
7579
7580
# File 'lib/v20200217/models.rb', line 7578

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • TotalCount:

    未分页的总数目

  • Instances:

    实例信息列表

  • RequestId:

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



7578
7579
7580
# File 'lib/v20200217/models.rb', line 7578

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



7586
7587
7588
7589
7590
7591
7592
7593
7594
7595
7596
7597
# File 'lib/v20200217/models.rb', line 7586

def deserialize(params)
  @TotalCount = params['TotalCount']
  unless params['Instances'].nil?
    @Instances = []
    params['Instances'].each do |i|
      rocketmqvipinstance_tmp = RocketMQVipInstance.new
      rocketmqvipinstance_tmp.deserialize(i)
      @Instances << rocketmqvipinstance_tmp
    end
  end
  @RequestId = params['RequestId']
end