Class: TencentCloud::Iotvideoindustry::V20201201::CreateDeviceGroupRequest

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

Overview

CreateDeviceGroup请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(groupname = nil, parentid = nil, groupdescribe = nil) ⇒ CreateDeviceGroupRequest

Returns a new instance of CreateDeviceGroupRequest.



575
576
577
578
579
# File 'lib/v20201201/models.rb', line 575

def initialize(groupname=nil, parentid=nil, groupdescribe=nil)
  @GroupName = groupname
  @ParentId = parentid
  @GroupDescribe = groupdescribe
end

Instance Attribute Details

#GroupDescribeObject

Parameters:

  • GroupName:

    分组名称

  • ParentId:

    父分组ID

  • GroupDescribe:

    分组描述



573
574
575
# File 'lib/v20201201/models.rb', line 573

def GroupDescribe
  @GroupDescribe
end

#GroupNameObject

Parameters:

  • GroupName:

    分组名称

  • ParentId:

    父分组ID

  • GroupDescribe:

    分组描述



573
574
575
# File 'lib/v20201201/models.rb', line 573

def GroupName
  @GroupName
end

#ParentIdObject

Parameters:

  • GroupName:

    分组名称

  • ParentId:

    父分组ID

  • GroupDescribe:

    分组描述



573
574
575
# File 'lib/v20201201/models.rb', line 573

def ParentId
  @ParentId
end

Instance Method Details

#deserialize(params) ⇒ Object



581
582
583
584
585
# File 'lib/v20201201/models.rb', line 581

def deserialize(params)
  @GroupName = params['GroupName']
  @ParentId = params['ParentId']
  @GroupDescribe = params['GroupDescribe']
end