Class: TencentCloud::Cls::V20201016::DescribeKafkaRechargesResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cls::V20201016::DescribeKafkaRechargesResponse
- Defined in:
- lib/v20201016/models.rb
Overview
DescribeKafkaRecharges返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(infos = nil, totalcount = nil, requestid = nil) ⇒ DescribeKafkaRechargesResponse
constructor
A new instance of DescribeKafkaRechargesResponse.
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
8826 8827 8828 |
# File 'lib/v20201016/models.rb', line 8826 def Infos @Infos end |
#RequestId ⇒ Object
8826 8827 8828 |
# File 'lib/v20201016/models.rb', line 8826 def RequestId @RequestId end |
#TotalCount ⇒ Object
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 |