Class: TencentCloud::Cwp::V20180228::DescribeMachineListResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cwp::V20180228::DescribeMachineListResponse
- Defined in:
- lib/v20180228/models.rb
Overview
DescribeMachineList返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(machines = nil, totalcount = nil, requestid = nil) ⇒ DescribeMachineListResponse
constructor
A new instance of DescribeMachineListResponse.
Constructor Details
#initialize(machines = nil, totalcount = nil, requestid = nil) ⇒ DescribeMachineListResponse
Returns a new instance of DescribeMachineListResponse.
17251 17252 17253 17254 17255 |
# File 'lib/v20180228/models.rb', line 17251 def initialize(machines=nil, totalcount=nil, requestid=nil) @Machines = machines @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#Machines ⇒ Object
17249 17250 17251 |
# File 'lib/v20180228/models.rb', line 17249 def Machines @Machines end |
#RequestId ⇒ Object
17249 17250 17251 |
# File 'lib/v20180228/models.rb', line 17249 def RequestId @RequestId end |
#TotalCount ⇒ Object
17249 17250 17251 |
# File 'lib/v20180228/models.rb', line 17249 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
17257 17258 17259 17260 17261 17262 17263 17264 17265 17266 17267 17268 |
# File 'lib/v20180228/models.rb', line 17257 def deserialize(params) unless params['Machines'].nil? @Machines = [] params['Machines'].each do |i| machine_tmp = Machine.new machine_tmp.deserialize(i) @Machines << machine_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |