Class: TencentCloud::Cls::V20201016::AddMachineGroupInfoRequest

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Defined in:
lib/v20201016/models.rb

Overview

AddMachineGroupInfo请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(groupid = nil, machinegrouptype = nil) ⇒ AddMachineGroupInfoRequest

Returns a new instance of AddMachineGroupInfoRequest.



31
32
33
34
# File 'lib/v20201016/models.rb', line 31

def initialize(groupid=nil, machinegrouptype=nil)
  @GroupId = groupid
  @MachineGroupType = machinegrouptype
end

Instance Attribute Details

#GroupId ⇒ Object

Parameters:

  • GroupId: —

    机器组Id

  • MachineGroupType: —

    机器组类型



29
30
31
# File 'lib/v20201016/models.rb', line 29

def GroupId
  @GroupId
end

#MachineGroupType ⇒ Object

Parameters:

  • GroupId: —

    机器组Id

  • MachineGroupType: —

    机器组类型



29
30
31
# File 'lib/v20201016/models.rb', line 29

def MachineGroupType
  @MachineGroupType
end

Instance Method Details

#deserialize(params) ⇒ Object



36
37
38
39
40
41
42
# File 'lib/v20201016/models.rb', line 36

def deserialize(params)
  @GroupId = params['GroupId']
  unless params['MachineGroupType'].nil?
    @MachineGroupType = MachineGroupTypeInfo.new
    @MachineGroupType.deserialize(params['MachineGroupType'])
  end
end