Class: TencentCloud::Bh::V20230418::CreateDeviceGroupRequest

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

Overview

CreateDeviceGroup请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = nil, departmentid = nil) ⇒ CreateDeviceGroupRequest

Returns a new instance of CreateDeviceGroupRequest.



1496
1497
1498
1499
# File 'lib/v20230418/models.rb', line 1496

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

Instance Attribute Details

#DepartmentIdObject

Parameters:

  • Name:

    资产组名,最大长度32字符

  • DepartmentId:

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



1494
1495
1496
# File 'lib/v20230418/models.rb', line 1494

def DepartmentId
  @DepartmentId
end

#NameObject

Parameters:

  • Name:

    资产组名,最大长度32字符

  • DepartmentId:

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



1494
1495
1496
# File 'lib/v20230418/models.rb', line 1494

def Name
  @Name
end

Instance Method Details

#deserialize(params) ⇒ Object



1501
1502
1503
1504
# File 'lib/v20230418/models.rb', line 1501

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