com.tencentcloudapi.cr.v20180321.models.DescribeTaskStatusResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tencentcloud-sdk-java-cr Show documentation
Show all versions of tencentcloud-sdk-java-cr Show documentation
Tencent Cloud Open API SDK for Java
/*
* 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.cr.v20180321.models;
import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class DescribeTaskStatusResponse extends AbstractModel{
/**
* 任务结果:
- 处理中:"Uploading Data."
- 上传成功:"File Uploading Task Success."
- 上传失败:具体失败原因
*/
@SerializedName("TaskResult")
@Expose
private String TaskResult;
/**
* 任务类型:
- 到期/逾期提醒数据上传:002
- 到期/逾期提醒停拨数据上传:003
- 回访数据上传:004
- 回访停拨数据上传:005
*/
@SerializedName("TaskType")
@Expose
private String TaskType;
/**
* 过滤文件下载链接,有过滤数据时才存在。
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("TaskFileUrl")
@Expose
private String TaskFileUrl;
/**
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
*/
@SerializedName("RequestId")
@Expose
private String RequestId;
/**
* Get 任务结果:
- 处理中:"Uploading Data."
- 上传成功:"File Uploading Task Success."
- 上传失败:具体失败原因
* @return TaskResult 任务结果:
- 处理中:"Uploading Data."
- 上传成功:"File Uploading Task Success."
- 上传失败:具体失败原因
*/
public String getTaskResult() {
return this.TaskResult;
}
/**
* Set 任务结果:
- 处理中:"Uploading Data."
- 上传成功:"File Uploading Task Success."
- 上传失败:具体失败原因
* @param TaskResult 任务结果:
- 处理中:"Uploading Data."
- 上传成功:"File Uploading Task Success."
- 上传失败:具体失败原因
*/
public void setTaskResult(String TaskResult) {
this.TaskResult = TaskResult;
}
/**
* Get 任务类型:
- 到期/逾期提醒数据上传:002
- 到期/逾期提醒停拨数据上传:003
- 回访数据上传:004
- 回访停拨数据上传:005
* @return TaskType 任务类型:
- 到期/逾期提醒数据上传:002
- 到期/逾期提醒停拨数据上传:003
- 回访数据上传:004
- 回访停拨数据上传:005
*/
public String getTaskType() {
return this.TaskType;
}
/**
* Set 任务类型:
- 到期/逾期提醒数据上传:002
- 到期/逾期提醒停拨数据上传:003
- 回访数据上传:004
- 回访停拨数据上传:005
* @param TaskType 任务类型:
- 到期/逾期提醒数据上传:002
- 到期/逾期提醒停拨数据上传:003
- 回访数据上传:004
- 回访停拨数据上传:005
*/
public void setTaskType(String TaskType) {
this.TaskType = TaskType;
}
/**
* Get 过滤文件下载链接,有过滤数据时才存在。
注意:此字段可能返回 null,表示取不到有效值。
* @return TaskFileUrl 过滤文件下载链接,有过滤数据时才存在。
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getTaskFileUrl() {
return this.TaskFileUrl;
}
/**
* Set 过滤文件下载链接,有过滤数据时才存在。
注意:此字段可能返回 null,表示取不到有效值。
* @param TaskFileUrl 过滤文件下载链接,有过滤数据时才存在。
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setTaskFileUrl(String TaskFileUrl) {
this.TaskFileUrl = TaskFileUrl;
}
/**
* Get 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
* @return RequestId 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
*/
public String getRequestId() {
return this.RequestId;
}
/**
* Set 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
* @param RequestId 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
*/
public void setRequestId(String RequestId) {
this.RequestId = RequestId;
}
public DescribeTaskStatusResponse() {
}
/**
* 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 DescribeTaskStatusResponse(DescribeTaskStatusResponse source) {
if (source.TaskResult != null) {
this.TaskResult = new String(source.TaskResult);
}
if (source.TaskType != null) {
this.TaskType = new String(source.TaskType);
}
if (source.TaskFileUrl != null) {
this.TaskFileUrl = new String(source.TaskFileUrl);
}
if (source.RequestId != null) {
this.RequestId = new String(source.RequestId);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "TaskResult", this.TaskResult);
this.setParamSimple(map, prefix + "TaskType", this.TaskType);
this.setParamSimple(map, prefix + "TaskFileUrl", this.TaskFileUrl);
this.setParamSimple(map, prefix + "RequestId", this.RequestId);
}
}