Class: TencentCloud::Iss::V20230517::AddOrgData

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

Overview

增加组织接口返回数据

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(organizationid = nil, name = nil, parentid = nil, level = nil, appid = nil, parentids = nil, total = nil, online = nil) ⇒ AddOrgData

Returns a new instance of AddOrgData.



443
444
445
446
447
448
449
450
451
452
# File 'lib/v20230517/models.rb', line 443

def initialize(organizationid=nil, name=nil, parentid=nil, level=nil, appid=nil, parentids=nil, total=nil, online=nil)
  @OrganizationId = organizationid
  @Name = name
  @ParentId = parentid
  @Level = level
  @AppId = appid
  @ParentIds = parentids
  @Total = total
  @Online = online
end

Instance Attribute Details

#AppIdObject

Parameters:

  • OrganizationId:

    组织 ID

  • Name:

    组织名称

  • ParentId:

    组织父节点 ID

  • Level:

    组织层级

  • AppId:

    用户ID

  • ParentIds:

    组织结构

  • Total:

    设备总数

  • Online:

    设备在线数量



441
442
443
# File 'lib/v20230517/models.rb', line 441

def AppId
  @AppId
end

#LevelObject

Parameters:

  • OrganizationId:

    组织 ID

  • Name:

    组织名称

  • ParentId:

    组织父节点 ID

  • Level:

    组织层级

  • AppId:

    用户ID

  • ParentIds:

    组织结构

  • Total:

    设备总数

  • Online:

    设备在线数量



441
442
443
# File 'lib/v20230517/models.rb', line 441

def Level
  @Level
end

#NameObject

Parameters:

  • OrganizationId:

    组织 ID

  • Name:

    组织名称

  • ParentId:

    组织父节点 ID

  • Level:

    组织层级

  • AppId:

    用户ID

  • ParentIds:

    组织结构

  • Total:

    设备总数

  • Online:

    设备在线数量



441
442
443
# File 'lib/v20230517/models.rb', line 441

def Name
  @Name
end

#OnlineObject

Parameters:

  • OrganizationId:

    组织 ID

  • Name:

    组织名称

  • ParentId:

    组织父节点 ID

  • Level:

    组织层级

  • AppId:

    用户ID

  • ParentIds:

    组织结构

  • Total:

    设备总数

  • Online:

    设备在线数量



441
442
443
# File 'lib/v20230517/models.rb', line 441

def Online
  @Online
end

#OrganizationIdObject

Parameters:

  • OrganizationId:

    组织 ID

  • Name:

    组织名称

  • ParentId:

    组织父节点 ID

  • Level:

    组织层级

  • AppId:

    用户ID

  • ParentIds:

    组织结构

  • Total:

    设备总数

  • Online:

    设备在线数量



441
442
443
# File 'lib/v20230517/models.rb', line 441

def OrganizationId
  @OrganizationId
end

#ParentIdObject

Parameters:

  • OrganizationId:

    组织 ID

  • Name:

    组织名称

  • ParentId:

    组织父节点 ID

  • Level:

    组织层级

  • AppId:

    用户ID

  • ParentIds:

    组织结构

  • Total:

    设备总数

  • Online:

    设备在线数量



441
442
443
# File 'lib/v20230517/models.rb', line 441

def ParentId
  @ParentId
end

#ParentIdsObject

Parameters:

  • OrganizationId:

    组织 ID

  • Name:

    组织名称

  • ParentId:

    组织父节点 ID

  • Level:

    组织层级

  • AppId:

    用户ID

  • ParentIds:

    组织结构

  • Total:

    设备总数

  • Online:

    设备在线数量



441
442
443
# File 'lib/v20230517/models.rb', line 441

def ParentIds
  @ParentIds
end

#TotalObject

Parameters:

  • OrganizationId:

    组织 ID

  • Name:

    组织名称

  • ParentId:

    组织父节点 ID

  • Level:

    组织层级

  • AppId:

    用户ID

  • ParentIds:

    组织结构

  • Total:

    设备总数

  • Online:

    设备在线数量



441
442
443
# File 'lib/v20230517/models.rb', line 441

def Total
  @Total
end

Instance Method Details

#deserialize(params) ⇒ Object



454
455
456
457
458
459
460
461
462
463
# File 'lib/v20230517/models.rb', line 454

def deserialize(params)
  @OrganizationId = params['OrganizationId']
  @Name = params['Name']
  @ParentId = params['ParentId']
  @Level = params['Level']
  @AppId = params['AppId']
  @ParentIds = params['ParentIds']
  @Total = params['Total']
  @Online = params['Online']
end