Class: TencentCloud::Dasb::V20191018::ModifyDeviceGroupRequest

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

Overview

ModifyDeviceGroup请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = nil, id = nil, departmentid = nil) ⇒ ModifyDeviceGroupRequest

Returns a new instance of ModifyDeviceGroupRequest.



3693
3694
3695
3696
3697
# File 'lib/v20191018/models.rb', line 3693

def initialize(name=nil, id=nil, departmentid=nil)
  @Name = name
  @Id = id
  @DepartmentId = departmentid
end

Instance Attribute Details

#DepartmentIdObject

Parameters:

  • Name:

    资产组名,最大长度32字符,不能为空

  • Id:

    资产组ID

  • DepartmentId:

    资产组所属部门ID,如:1.2.3



3691
3692
3693
# File 'lib/v20191018/models.rb', line 3691

def DepartmentId
  @DepartmentId
end

#IdObject

Parameters:

  • Name:

    资产组名,最大长度32字符,不能为空

  • Id:

    资产组ID

  • DepartmentId:

    资产组所属部门ID,如:1.2.3



3691
3692
3693
# File 'lib/v20191018/models.rb', line 3691

def Id
  @Id
end

#NameObject

Parameters:

  • Name:

    资产组名,最大长度32字符,不能为空

  • Id:

    资产组ID

  • DepartmentId:

    资产组所属部门ID,如:1.2.3



3691
3692
3693
# File 'lib/v20191018/models.rb', line 3691

def Name
  @Name
end

Instance Method Details

#deserialize(params) ⇒ Object



3699
3700
3701
3702
3703
# File 'lib/v20191018/models.rb', line 3699

def deserialize(params)
  @Name = params['Name']
  @Id = params['Id']
  @DepartmentId = params['DepartmentId']
end