Class: TencentCloud::Iotvideoindustry::V20201201::DevGroupInfo

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

Overview

设备所在分组信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(deviceid = nil, groupid = nil, grouppath = nil, parentid = nil, error = nil) ⇒ DevGroupInfo

Returns a new instance of DevGroupInfo.



4323
4324
4325
4326
4327
4328
4329
# File 'lib/v20201201/models.rb', line 4323

def initialize(deviceid=nil, groupid=nil, grouppath=nil, parentid=nil, error=nil)
  @DeviceId = deviceid
  @GroupId = groupid
  @GroupPath = grouppath
  @ParentId = parentid
  @Error = error
end

Instance Attribute Details

#DeviceIdObject

Parameters:

  • DeviceId:

    设备唯一标识

  • GroupId:

    分组ID

  • GroupPath:

    分组路径

  • ParentId:

    父分组ID

  • Error:

    设备错误,仅在用户没权限或者设备已删除时返回具体结果



4321
4322
4323
# File 'lib/v20201201/models.rb', line 4321

def DeviceId
  @DeviceId
end

#ErrorObject

Parameters:

  • DeviceId:

    设备唯一标识

  • GroupId:

    分组ID

  • GroupPath:

    分组路径

  • ParentId:

    父分组ID

  • Error:

    设备错误,仅在用户没权限或者设备已删除时返回具体结果



4321
4322
4323
# File 'lib/v20201201/models.rb', line 4321

def Error
  @Error
end

#GroupIdObject

Parameters:

  • DeviceId:

    设备唯一标识

  • GroupId:

    分组ID

  • GroupPath:

    分组路径

  • ParentId:

    父分组ID

  • Error:

    设备错误,仅在用户没权限或者设备已删除时返回具体结果



4321
4322
4323
# File 'lib/v20201201/models.rb', line 4321

def GroupId
  @GroupId
end

#GroupPathObject

Parameters:

  • DeviceId:

    设备唯一标识

  • GroupId:

    分组ID

  • GroupPath:

    分组路径

  • ParentId:

    父分组ID

  • Error:

    设备错误,仅在用户没权限或者设备已删除时返回具体结果



4321
4322
4323
# File 'lib/v20201201/models.rb', line 4321

def GroupPath
  @GroupPath
end

#ParentIdObject

Parameters:

  • DeviceId:

    设备唯一标识

  • GroupId:

    分组ID

  • GroupPath:

    分组路径

  • ParentId:

    父分组ID

  • Error:

    设备错误,仅在用户没权限或者设备已删除时返回具体结果



4321
4322
4323
# File 'lib/v20201201/models.rb', line 4321

def ParentId
  @ParentId
end

Instance Method Details

#deserialize(params) ⇒ Object



4331
4332
4333
4334
4335
4336
4337
# File 'lib/v20201201/models.rb', line 4331

def deserialize(params)
  @DeviceId = params['DeviceId']
  @GroupId = params['GroupId']
  @GroupPath = params['GroupPath']
  @ParentId = params['ParentId']
  @Error = params['Error']
end