Class: TencentCloud::Ess::V20201111::ExportContractReviewResultRequest

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

Overview

ExportContractReviewResult请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(operator = nil, taskid = nil, filetype = nil, agent = nil) ⇒ ExportContractReviewResultRequest

Returns a new instance of ExportContractReviewResultRequest.



12242
12243
12244
12245
12246
12247
# File 'lib/v20201111/models.rb', line 12242

def initialize(operator=nil, taskid=nil, filetype=nil, agent=nil)
  @Operator = operator
  @TaskId = taskid
  @FileType = filetype
  @Agent = agent
end

Instance Attribute Details

#AgentObject

注: 在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。 在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。

Parameters:

  • Operator:

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

  • TaskId:

    合同审查任务ID

  • FileType:

    导出文件类型。1 = 带风险批注文件; 2 = 审查结果&摘要(.xIsx)

  • Agent:

    代理企业和员工的信息。



12240
12241
12242
# File 'lib/v20201111/models.rb', line 12240

def Agent
  @Agent
end

#FileTypeObject

注: 在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。 在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。

Parameters:

  • Operator:

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

  • TaskId:

    合同审查任务ID

  • FileType:

    导出文件类型。1 = 带风险批注文件; 2 = 审查结果&摘要(.xIsx)

  • Agent:

    代理企业和员工的信息。



12240
12241
12242
# File 'lib/v20201111/models.rb', line 12240

def FileType
  @FileType
end

#OperatorObject

注: 在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。 在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。

Parameters:

  • Operator:

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

  • TaskId:

    合同审查任务ID

  • FileType:

    导出文件类型。1 = 带风险批注文件; 2 = 审查结果&摘要(.xIsx)

  • Agent:

    代理企业和员工的信息。



12240
12241
12242
# File 'lib/v20201111/models.rb', line 12240

def Operator
  @Operator
end

#TaskIdObject

注: 在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。 在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。

Parameters:

  • Operator:

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

  • TaskId:

    合同审查任务ID

  • FileType:

    导出文件类型。1 = 带风险批注文件; 2 = 审查结果&摘要(.xIsx)

  • Agent:

    代理企业和员工的信息。



12240
12241
12242
# File 'lib/v20201111/models.rb', line 12240

def TaskId
  @TaskId
end

Instance Method Details

#deserialize(params) ⇒ Object



12249
12250
12251
12252
12253
12254
12255
12256
12257
12258
12259
12260
# File 'lib/v20201111/models.rb', line 12249

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