Class: TencentCloud::Ess::V20201111::CreateConvertTaskApiRequest

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

Overview

CreateConvertTaskApi请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(resourcetype = nil, resourcename = nil, resourceid = nil, operator = nil, agent = nil, organization = nil) ⇒ CreateConvertTaskApiRequest

Returns a new instance of CreateConvertTaskApiRequest.



3172
3173
3174
3175
3176
3177
3178
3179
# File 'lib/v20201111/models.rb', line 3172

def initialize(resourcetype=nil, resourcename=nil, resourceid=nil, operator=nil, agent=nil, organization=nil)
  @ResourceType = resourcetype
  @ResourceName = resourcename
  @ResourceId = resourceid
  @Operator = operator
  @Agent = agent
  @Organization = organization
end

Instance Attribute Details

#AgentObject

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

Parameters:

  • Operator:

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

  • Agent:

    代理企业和员工的信息。

  • Organization:

    暂未开放



3167
3168
3169
# File 'lib/v20201111/models.rb', line 3167

def Agent
  @Agent
end

#OperatorObject

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

Parameters:

  • Operator:

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

  • Agent:

    代理企业和员工的信息。

  • Organization:

    暂未开放



3167
3168
3169
# File 'lib/v20201111/models.rb', line 3167

def Operator
  @Operator
end

#OrganizationObject

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

Parameters:

  • Operator:

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

  • Agent:

    代理企业和员工的信息。

  • Organization:

    暂未开放



3167
3168
3169
# File 'lib/v20201111/models.rb', line 3167

def Organization
  @Organization
end

#ResourceIdObject

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

Parameters:

  • Operator:

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

  • Agent:

    代理企业和员工的信息。

  • Organization:

    暂未开放



3167
3168
3169
# File 'lib/v20201111/models.rb', line 3167

def ResourceId
  @ResourceId
end

#ResourceNameObject

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

Parameters:

  • Operator:

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

  • Agent:

    代理企业和员工的信息。

  • Organization:

    暂未开放



3167
3168
3169
# File 'lib/v20201111/models.rb', line 3167

def ResourceName
  @ResourceName
end

#ResourceTypeObject

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

Parameters:

  • Operator:

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

  • Agent:

    代理企业和员工的信息。

  • Organization:

    暂未开放



3167
3168
3169
# File 'lib/v20201111/models.rb', line 3167

def ResourceType
  @ResourceType
end

Instance Method Details

#deserialize(params) ⇒ Object



3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
# File 'lib/v20201111/models.rb', line 3181

def deserialize(params)
  @ResourceType = params['ResourceType']
  @ResourceName = params['ResourceName']
  @ResourceId = params['ResourceId']
  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