Class: TencentCloud::Dasb::V20191018::CreateDeviceGroupRequest

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20191018/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.



1141
1142
1143
1144
# File 'lib/v20191018/models.rb', line 1141

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

Instance Attribute Details

#DepartmentIdObject

Parameters:

  • Name:

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

  • DepartmentId:

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



1139
1140
1141
# File 'lib/v20191018/models.rb', line 1139

def DepartmentId
  @DepartmentId
end

#NameObject

Parameters:

  • Name:

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

  • DepartmentId:

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



1139
1140
1141
# File 'lib/v20191018/models.rb', line 1139

def Name
  @Name
end

Instance Method Details

#deserialize(params) ⇒ Object



1146
1147
1148
1149
# File 'lib/v20191018/models.rb', line 1146

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