Class: TencentCloud::Tdmq::V20200217::DescribePulsarProInstancesResponse

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

Overview

DescribePulsarProInstances返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of DescribePulsarProInstancesResponse.



4883
4884
4885
4886
4887
# File 'lib/v20200217/models.rb', line 4883

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。



4881
4882
4883
# File 'lib/v20200217/models.rb', line 4881

def Instances
  @Instances
end

#RequestIdObject

Parameters:

  • TotalCount:

    未分页的总数目

  • Instances:

    实例信息列表

  • RequestId:

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



4881
4882
4883
# File 'lib/v20200217/models.rb', line 4881

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • TotalCount:

    未分页的总数目

  • Instances:

    实例信息列表

  • RequestId:

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



4881
4882
4883
# File 'lib/v20200217/models.rb', line 4881

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
# File 'lib/v20200217/models.rb', line 4889

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