Class: TencentCloud::Cls::V20201016::DescribeKafkaRechargesResponse

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

Overview

DescribeKafkaRecharges返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(infos = nil, totalcount = nil, requestid = nil) ⇒ DescribeKafkaRechargesResponse

Returns a new instance of DescribeKafkaRechargesResponse.



8828
8829
8830
8831
8832
# File 'lib/v20201016/models.rb', line 8828

def initialize(infos=nil, totalcount=nil, requestid=nil)
  @Infos = infos
  @TotalCount = totalcount
  @RequestId = requestid
end

Instance Attribute Details

#Infos ⇒ Object

Parameters:

  • Infos: —

    KafkaRechargeInfo 信息列表

  • TotalCount: —

    Kafka导入信息总条数

  • RequestId: —

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



8826
8827
8828
# File 'lib/v20201016/models.rb', line 8826

def Infos
  @Infos
end

#RequestId ⇒ Object

Parameters:

  • Infos: —

    KafkaRechargeInfo 信息列表

  • TotalCount: —

    Kafka导入信息总条数

  • RequestId: —

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



8826
8827
8828
# File 'lib/v20201016/models.rb', line 8826

def RequestId
  @RequestId
end

#TotalCount ⇒ Object

Parameters:

  • Infos: —

    KafkaRechargeInfo 信息列表

  • TotalCount: —

    Kafka导入信息总条数

  • RequestId: —

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



8826
8827
8828
# File 'lib/v20201016/models.rb', line 8826

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



8834
8835
8836
8837
8838
8839
8840
8841
8842
8843
8844
8845
# File 'lib/v20201016/models.rb', line 8834

def deserialize(params)
  unless params['Infos'].nil?
    @Infos = []
    params['Infos'].each do |i|
      kafkarechargeinfo_tmp = KafkaRechargeInfo.new
      kafkarechargeinfo_tmp.deserialize(i)
      @Infos << kafkarechargeinfo_tmp
    end
  end
  @TotalCount = params['TotalCount']
  @RequestId = params['RequestId']
end