Class: TencentCloud::Ess::V20201111::GetTaskResultApiRequest

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

Overview

GetTaskResultApi请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(taskid = nil, operator = nil, agent = nil, organization = nil) ⇒ GetTaskResultApiRequest

Returns a new instance of GetTaskResultApiRequest.



14334
14335
14336
14337
14338
14339
# File 'lib/v20201111/models.rb', line 14334

def initialize(taskid=nil, operator=nil, agent=nil, organization=nil)
  @TaskId = taskid
  @Operator = operator
  @Agent = agent
  @Organization = organization
end

Instance Attribute Details

#AgentObject

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

Parameters:

  • TaskId:

    转换任务Id,通过接口创建文件转换任务接口得到的转换任务id

  • Operator:

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

  • Agent:

    代理企业和员工的信息。

  • Organization:

    暂未开放



14329
14330
14331
# File 'lib/v20201111/models.rb', line 14329

def Agent
  @Agent
end

#OperatorObject

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

Parameters:

  • TaskId:

    转换任务Id,通过接口创建文件转换任务接口得到的转换任务id

  • Operator:

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

  • Agent:

    代理企业和员工的信息。

  • Organization:

    暂未开放



14329
14330
14331
# File 'lib/v20201111/models.rb', line 14329

def Operator
  @Operator
end

#OrganizationObject

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

Parameters:

  • TaskId:

    转换任务Id,通过接口创建文件转换任务接口得到的转换任务id

  • Operator:

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

  • Agent:

    代理企业和员工的信息。

  • Organization:

    暂未开放



14329
14330
14331
# File 'lib/v20201111/models.rb', line 14329

def Organization
  @Organization
end

#TaskIdObject

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

Parameters:

  • TaskId:

    转换任务Id,通过接口创建文件转换任务接口得到的转换任务id

  • Operator:

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

  • Agent:

    代理企业和员工的信息。

  • Organization:

    暂未开放



14329
14330
14331
# File 'lib/v20201111/models.rb', line 14329

def TaskId
  @TaskId
end

Instance Method Details

#deserialize(params) ⇒ Object



14341
14342
14343
14344
14345
14346
14347
14348
14349
14350
14351
14352
14353
14354
14355
# File 'lib/v20201111/models.rb', line 14341

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