
com.tencentcloudapi.ess.v20201111.models.GetTaskResultApiRequest Maven / Gradle / Ivy
/*
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.tencentcloudapi.ess.v20201111.models;
import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class GetTaskResultApiRequest extends AbstractModel{
/**
* 任务Id,通过CreateConvertTaskApi得到
*/
@SerializedName("TaskId")
@Expose
private String TaskId;
/**
* 操作人信息
*/
@SerializedName("Operator")
@Expose
private UserInfo Operator;
/**
* 应用号信息
*/
@SerializedName("Agent")
@Expose
private Agent Agent;
/**
* 暂未开放
*/
@SerializedName("Organization")
@Expose
private OrganizationInfo Organization;
/**
* Get 任务Id,通过CreateConvertTaskApi得到
* @return TaskId 任务Id,通过CreateConvertTaskApi得到
*/
public String getTaskId() {
return this.TaskId;
}
/**
* Set 任务Id,通过CreateConvertTaskApi得到
* @param TaskId 任务Id,通过CreateConvertTaskApi得到
*/
public void setTaskId(String TaskId) {
this.TaskId = TaskId;
}
/**
* Get 操作人信息
* @return Operator 操作人信息
*/
public UserInfo getOperator() {
return this.Operator;
}
/**
* Set 操作人信息
* @param Operator 操作人信息
*/
public void setOperator(UserInfo Operator) {
this.Operator = Operator;
}
/**
* Get 应用号信息
* @return Agent 应用号信息
*/
public Agent getAgent() {
return this.Agent;
}
/**
* Set 应用号信息
* @param Agent 应用号信息
*/
public void setAgent(Agent Agent) {
this.Agent = Agent;
}
/**
* Get 暂未开放
* @return Organization 暂未开放
*/
public OrganizationInfo getOrganization() {
return this.Organization;
}
/**
* Set 暂未开放
* @param Organization 暂未开放
*/
public void setOrganization(OrganizationInfo Organization) {
this.Organization = Organization;
}
public GetTaskResultApiRequest() {
}
/**
* NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
* and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
*/
public GetTaskResultApiRequest(GetTaskResultApiRequest source) {
if (source.TaskId != null) {
this.TaskId = new String(source.TaskId);
}
if (source.Operator != null) {
this.Operator = new UserInfo(source.Operator);
}
if (source.Agent != null) {
this.Agent = new Agent(source.Agent);
}
if (source.Organization != null) {
this.Organization = new OrganizationInfo(source.Organization);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "TaskId", this.TaskId);
this.setParamObj(map, prefix + "Operator.", this.Operator);
this.setParamObj(map, prefix + "Agent.", this.Agent);
this.setParamObj(map, prefix + "Organization.", this.Organization);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy