Class: TencentCloud::Cwp::V20180228::DescribeMachineClearHistoryResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cwp::V20180228::DescribeMachineClearHistoryResponse
- Defined in:
- lib/v20180228/models.rb
Overview
DescribeMachineClearHistory返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, list = nil, requestid = nil) ⇒ DescribeMachineClearHistoryResponse
constructor
A new instance of DescribeMachineClearHistoryResponse.
Constructor Details
#initialize(totalcount = nil, list = nil, requestid = nil) ⇒ DescribeMachineClearHistoryResponse
Returns a new instance of DescribeMachineClearHistoryResponse.
17051 17052 17053 17054 17055 |
# File 'lib/v20180228/models.rb', line 17051 def initialize(totalcount=nil, list=nil, requestid=nil) @TotalCount = totalcount @List = list @RequestId = requestid end |
Instance Attribute Details
#List ⇒ Object
17049 17050 17051 |
# File 'lib/v20180228/models.rb', line 17049 def List @List end |
#RequestId ⇒ Object
17049 17050 17051 |
# File 'lib/v20180228/models.rb', line 17049 def RequestId @RequestId end |
#TotalCount ⇒ Object
17049 17050 17051 |
# File 'lib/v20180228/models.rb', line 17049 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
17057 17058 17059 17060 17061 17062 17063 17064 17065 17066 17067 17068 |
# File 'lib/v20180228/models.rb', line 17057 def deserialize(params) @TotalCount = params['TotalCount'] unless params['List'].nil? @List = [] params['List'].each do |i| machineclearhistory_tmp = MachineClearHistory.new machineclearhistory_tmp.deserialize(i) @List << machineclearhistory_tmp end end @RequestId = params['RequestId'] end |