Class: TencentCloud::Cls::V20201016::DescribeConfigMachineGroupsResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cls::V20201016::DescribeConfigMachineGroupsResponse
- Defined in:
- lib/v20201016/models.rb
Overview
DescribeConfigMachineGroups返回参数结构体
Instance Attribute Summary collapse
-
#MachineGroups ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(machinegroups = nil, requestid = nil) ⇒ DescribeConfigMachineGroupsResponse
constructor
A new instance of DescribeConfigMachineGroupsResponse.
Constructor Details
#initialize(machinegroups = nil, requestid = nil) ⇒ DescribeConfigMachineGroupsResponse
Returns a new instance of DescribeConfigMachineGroupsResponse.
7331 7332 7333 7334 |
# File 'lib/v20201016/models.rb', line 7331 def initialize(machinegroups=nil, requestid=nil) @MachineGroups = machinegroups @RequestId = requestid end |
Instance Attribute Details
#MachineGroups ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
7329 7330 7331 |
# File 'lib/v20201016/models.rb', line 7329 def MachineGroups @MachineGroups end |
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
7329 7330 7331 |
# File 'lib/v20201016/models.rb', line 7329 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
7336 7337 7338 7339 7340 7341 7342 7343 7344 7345 7346 |
# File 'lib/v20201016/models.rb', line 7336 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 @RequestId = params['RequestId'] end |