Class: TencentCloud::Ess::V20201111::IntegrationDepartment

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

Overview

部门信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(deptid = nil, deptname = nil, parentdeptid = nil, deptopenid = nil, orderno = nil) ⇒ IntegrationDepartment

Returns a new instance of IntegrationDepartment.



14724
14725
14726
14727
14728
14729
14730
# File 'lib/v20201111/models.rb', line 14724

def initialize(deptid=nil, deptname=nil, parentdeptid=nil, deptopenid=nil, orderno=nil)
  @DeptId = deptid
  @DeptName = deptname
  @ParentDeptId = parentdeptid
  @DeptOpenId = deptopenid
  @OrderNo = orderno
end

Instance Attribute Details

#DeptIdObject

Parameters:

  • DeptId:

    部门ID。

  • DeptName:

    部门名。

  • ParentDeptId:

    父部门ID

  • DeptOpenId:

    客户系统部门ID

  • OrderNo:

    序列号。



14722
14723
14724
# File 'lib/v20201111/models.rb', line 14722

def DeptId
  @DeptId
end

#DeptNameObject

Parameters:

  • DeptId:

    部门ID。

  • DeptName:

    部门名。

  • ParentDeptId:

    父部门ID

  • DeptOpenId:

    客户系统部门ID

  • OrderNo:

    序列号。



14722
14723
14724
# File 'lib/v20201111/models.rb', line 14722

def DeptName
  @DeptName
end

#DeptOpenIdObject

Parameters:

  • DeptId:

    部门ID。

  • DeptName:

    部门名。

  • ParentDeptId:

    父部门ID

  • DeptOpenId:

    客户系统部门ID

  • OrderNo:

    序列号。



14722
14723
14724
# File 'lib/v20201111/models.rb', line 14722

def DeptOpenId
  @DeptOpenId
end

#OrderNoObject

Parameters:

  • DeptId:

    部门ID。

  • DeptName:

    部门名。

  • ParentDeptId:

    父部门ID

  • DeptOpenId:

    客户系统部门ID

  • OrderNo:

    序列号。



14722
14723
14724
# File 'lib/v20201111/models.rb', line 14722

def OrderNo
  @OrderNo
end

#ParentDeptIdObject

Parameters:

  • DeptId:

    部门ID。

  • DeptName:

    部门名。

  • ParentDeptId:

    父部门ID

  • DeptOpenId:

    客户系统部门ID

  • OrderNo:

    序列号。



14722
14723
14724
# File 'lib/v20201111/models.rb', line 14722

def ParentDeptId
  @ParentDeptId
end

Instance Method Details

#deserialize(params) ⇒ Object



14732
14733
14734
14735
14736
14737
14738
# File 'lib/v20201111/models.rb', line 14732

def deserialize(params)
  @DeptId = params['DeptId']
  @DeptName = params['DeptName']
  @ParentDeptId = params['ParentDeptId']
  @DeptOpenId = params['DeptOpenId']
  @OrderNo = params['OrderNo']
end