Class: TencentCloud::Iss::V20230517::UpdateOrgData

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) ⇒ UpdateOrgData

Returns a new instance of UpdateOrgData.



7440
7441
7442
7443
7444
7445
7446
7447
7448
7449
# File 'lib/v20230517/models.rb', line 7440

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:

    设备在线数量



7438
7439
7440
# File 'lib/v20230517/models.rb', line 7438

def AppId
  @AppId
end

#LevelObject

Parameters:

  • OrganizationId:

    组织 ID

  • Name:

    组织名称

  • ParentId:

    组织父节点 ID

  • Level:

    组织层级

  • AppId:

    用户ID

  • ParentIds:

    组织结构

  • Total:

    设备总数

  • Online:

    设备在线数量



7438
7439
7440
# File 'lib/v20230517/models.rb', line 7438

def Level
  @Level
end

#NameObject

Parameters:

  • OrganizationId:

    组织 ID

  • Name:

    组织名称

  • ParentId:

    组织父节点 ID

  • Level:

    组织层级

  • AppId:

    用户ID

  • ParentIds:

    组织结构

  • Total:

    设备总数

  • Online:

    设备在线数量



7438
7439
7440
# File 'lib/v20230517/models.rb', line 7438

def Name
  @Name
end

#OnlineObject

Parameters:

  • OrganizationId:

    组织 ID

  • Name:

    组织名称

  • ParentId:

    组织父节点 ID

  • Level:

    组织层级

  • AppId:

    用户ID

  • ParentIds:

    组织结构

  • Total:

    设备总数

  • Online:

    设备在线数量



7438
7439
7440
# File 'lib/v20230517/models.rb', line 7438

def Online
  @Online
end

#OrganizationIdObject

Parameters:

  • OrganizationId:

    组织 ID

  • Name:

    组织名称

  • ParentId:

    组织父节点 ID

  • Level:

    组织层级

  • AppId:

    用户ID

  • ParentIds:

    组织结构

  • Total:

    设备总数

  • Online:

    设备在线数量



7438
7439
7440
# File 'lib/v20230517/models.rb', line 7438

def OrganizationId
  @OrganizationId
end

#ParentIdObject

Parameters:

  • OrganizationId:

    组织 ID

  • Name:

    组织名称

  • ParentId:

    组织父节点 ID

  • Level:

    组织层级

  • AppId:

    用户ID

  • ParentIds:

    组织结构

  • Total:

    设备总数

  • Online:

    设备在线数量



7438
7439
7440
# File 'lib/v20230517/models.rb', line 7438

def ParentId
  @ParentId
end

#ParentIdsObject

Parameters:

  • OrganizationId:

    组织 ID

  • Name:

    组织名称

  • ParentId:

    组织父节点 ID

  • Level:

    组织层级

  • AppId:

    用户ID

  • ParentIds:

    组织结构

  • Total:

    设备总数

  • Online:

    设备在线数量



7438
7439
7440
# File 'lib/v20230517/models.rb', line 7438

def ParentIds
  @ParentIds
end

#TotalObject

Parameters:

  • OrganizationId:

    组织 ID

  • Name:

    组织名称

  • ParentId:

    组织父节点 ID

  • Level:

    组织层级

  • AppId:

    用户ID

  • ParentIds:

    组织结构

  • Total:

    设备总数

  • Online:

    设备在线数量



7438
7439
7440
# File 'lib/v20230517/models.rb', line 7438

def Total
  @Total
end

Instance Method Details

#deserialize(params) ⇒ Object



7451
7452
7453
7454
7455
7456
7457
7458
7459
7460
# File 'lib/v20230517/models.rb', line 7451

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