Class: TencentCloud::Ess::V20201111::DeleteIntegrationDepartmentRequest

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

Overview

DeleteIntegrationDepartment请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(operator = nil, deptid = nil, agent = nil, receivedeptid = nil) ⇒ DeleteIntegrationDepartmentRequest

Returns a new instance of DeleteIntegrationDepartmentRequest.



8587
8588
8589
8590
8591
8592
# File 'lib/v20201111/models.rb', line 8587

def initialize(operator=nil, deptid=nil, agent=nil, receivedeptid=nil)
  @Operator = operator
  @DeptId = deptid
  @Agent = agent
  @ReceiveDeptId = receivedeptid
end

Instance Attribute Details

#AgentObject

注: 在调用此接口时,请确保指定的员工已获得组织架构管理权限,并具备接口传入的相应资源的数据权限。 在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。 待删除部门中的合同、印章和模板数据,将会被交接至该部门ID下;若未填写则交接至公司根部门。

Parameters:

  • Operator:

    执行本接口操作的员工信息。

  • DeptId:

    电子签中的部门ID,通过DescribeIntegrationDepartments接口可获得。

  • Agent:

    代理企业和员工的信息。

  • ReceiveDeptId:

    交接部门ID。



8585
8586
8587
# File 'lib/v20201111/models.rb', line 8585

def Agent
  @Agent
end

#DeptIdObject

注: 在调用此接口时,请确保指定的员工已获得组织架构管理权限,并具备接口传入的相应资源的数据权限。 在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。 待删除部门中的合同、印章和模板数据,将会被交接至该部门ID下;若未填写则交接至公司根部门。

Parameters:

  • Operator:

    执行本接口操作的员工信息。

  • DeptId:

    电子签中的部门ID,通过DescribeIntegrationDepartments接口可获得。

  • Agent:

    代理企业和员工的信息。

  • ReceiveDeptId:

    交接部门ID。



8585
8586
8587
# File 'lib/v20201111/models.rb', line 8585

def DeptId
  @DeptId
end

#OperatorObject

注: 在调用此接口时,请确保指定的员工已获得组织架构管理权限,并具备接口传入的相应资源的数据权限。 在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。 待删除部门中的合同、印章和模板数据,将会被交接至该部门ID下;若未填写则交接至公司根部门。

Parameters:

  • Operator:

    执行本接口操作的员工信息。

  • DeptId:

    电子签中的部门ID,通过DescribeIntegrationDepartments接口可获得。

  • Agent:

    代理企业和员工的信息。

  • ReceiveDeptId:

    交接部门ID。



8585
8586
8587
# File 'lib/v20201111/models.rb', line 8585

def Operator
  @Operator
end

#ReceiveDeptIdObject

注: 在调用此接口时,请确保指定的员工已获得组织架构管理权限,并具备接口传入的相应资源的数据权限。 在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。 待删除部门中的合同、印章和模板数据,将会被交接至该部门ID下;若未填写则交接至公司根部门。

Parameters:

  • Operator:

    执行本接口操作的员工信息。

  • DeptId:

    电子签中的部门ID,通过DescribeIntegrationDepartments接口可获得。

  • Agent:

    代理企业和员工的信息。

  • ReceiveDeptId:

    交接部门ID。



8585
8586
8587
# File 'lib/v20201111/models.rb', line 8585

def ReceiveDeptId
  @ReceiveDeptId
end

Instance Method Details

#deserialize(params) ⇒ Object



8594
8595
8596
8597
8598
8599
8600
8601
8602
8603
8604
8605
# File 'lib/v20201111/models.rb', line 8594

def deserialize(params)
  unless params['Operator'].nil?
    @Operator = UserInfo.new
    @Operator.deserialize(params['Operator'])
  end
  @DeptId = params['DeptId']
  unless params['Agent'].nil?
    @Agent = Agent.new
    @Agent.deserialize(params['Agent'])
  end
  @ReceiveDeptId = params['ReceiveDeptId']
end