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.
17532 17533 17534 17535 17536 |
# File 'lib/v20180228/models.rb', line 17532 def initialize(machines=nil, totalcount=nil, requestid=nil) @Machines = machines @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#Machines ⇒ Object
17530 17531 17532 |
# File 'lib/v20180228/models.rb', line 17530 def Machines @Machines end |
#RequestId ⇒ Object
17530 17531 17532 |
# File 'lib/v20180228/models.rb', line 17530 def RequestId @RequestId end |
#TotalCount ⇒ Object
17530 17531 17532 |
# File 'lib/v20180228/models.rb', line 17530 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
17538 17539 17540 17541 17542 17543 17544 17545 17546 17547 17548 17549 |
# File 'lib/v20180228/models.rb', line 17538 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 |