Class: TencentCloud::Cls::V20201016::DescribeMachineGroupsResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cls::V20201016::DescribeMachineGroupsResponse
- Defined in:
- lib/v20201016/models.rb
Overview
DescribeMachineGroups返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(machinegroups = nil, totalcount = nil, requestid = nil) ⇒ DescribeMachineGroupsResponse
constructor
A new instance of DescribeMachineGroupsResponse.
Constructor Details
#initialize(machinegroups = nil, totalcount = nil, requestid = nil) ⇒ DescribeMachineGroupsResponse
Returns a new instance of DescribeMachineGroupsResponse.
9214 9215 9216 9217 9218 |
# File 'lib/v20201016/models.rb', line 9214 def initialize(machinegroups=nil, totalcount=nil, requestid=nil) @MachineGroups = machinegroups @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#MachineGroups ⇒ Object
9212 9213 9214 |
# File 'lib/v20201016/models.rb', line 9212 def MachineGroups @MachineGroups end |
#RequestId ⇒ Object
9212 9213 9214 |
# File 'lib/v20201016/models.rb', line 9212 def RequestId @RequestId end |
#TotalCount ⇒ Object
9212 9213 9214 |
# File 'lib/v20201016/models.rb', line 9212 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
9220 9221 9222 9223 9224 9225 9226 9227 9228 9229 9230 9231 |
# File 'lib/v20201016/models.rb', line 9220 def deserialize(params) unless params['MachineGroups'].nil? @MachineGroups = [] params['MachineGroups'].each do |i| machinegroupinfo_tmp = MachineGroupInfo.new machinegroupinfo_tmp.deserialize(i) @MachineGroups << machinegroupinfo_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |