Class: TencentCloud::Tdmq::V20200217::DescribeRabbitMQVipInstancesResponse

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

Overview

DescribeRabbitMQVipInstances返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of DescribeRabbitMQVipInstancesResponse.



5616
5617
5618
5619
5620
# File 'lib/v20200217/models.rb', line 5616

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。



5614
5615
5616
# File 'lib/v20200217/models.rb', line 5614

def Instances
  @Instances
end

#RequestIdObject

Parameters:

  • TotalCount:

    未分页的总数目

  • Instances:

    实例信息列表

  • RequestId:

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



5614
5615
5616
# File 'lib/v20200217/models.rb', line 5614

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • TotalCount:

    未分页的总数目

  • Instances:

    实例信息列表

  • RequestId:

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



5614
5615
5616
# File 'lib/v20200217/models.rb', line 5614

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
# File 'lib/v20200217/models.rb', line 5622

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