Class: TencentCloud::Cls::V20201016::DescribeEsRechargesResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cls::V20201016::DescribeEsRechargesResponse
- Defined in:
- lib/v20201016/models.rb
Overview
DescribeEsRecharges返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, infos = nil, requestid = nil) ⇒ DescribeEsRechargesResponse
constructor
A new instance of DescribeEsRechargesResponse.
Constructor Details
#initialize(totalcount = nil, infos = nil, requestid = nil) ⇒ DescribeEsRechargesResponse
Returns a new instance of DescribeEsRechargesResponse.
8320 8321 8322 8323 8324 |
# File 'lib/v20201016/models.rb', line 8320 def initialize(totalcount=nil, infos=nil, requestid=nil) @TotalCount = totalcount @Infos = infos @RequestId = requestid end |
Instance Attribute Details
#Infos ⇒ Object
8318 8319 8320 |
# File 'lib/v20201016/models.rb', line 8318 def Infos @Infos end |
#RequestId ⇒ Object
8318 8319 8320 |
# File 'lib/v20201016/models.rb', line 8318 def RequestId @RequestId end |
#TotalCount ⇒ Object
8318 8319 8320 |
# File 'lib/v20201016/models.rb', line 8318 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
8326 8327 8328 8329 8330 8331 8332 8333 8334 8335 8336 8337 |
# File 'lib/v20201016/models.rb', line 8326 def deserialize(params) @TotalCount = params['TotalCount'] unless params['Infos'].nil? @Infos = [] params['Infos'].each do |i| esrechargeinfo_tmp = EsRechargeInfo.new esrechargeinfo_tmp.deserialize(i) @Infos << esrechargeinfo_tmp end end @RequestId = params['RequestId'] end |