
com.tencentcloudapi.redis.v20180412.models.TaskInfoDetail 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.redis.v20180412.models;
import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class TaskInfoDetail extends AbstractModel{
/**
* 任务Id
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("TaskId")
@Expose
private Long TaskId;
/**
* 开始时间
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("StartTime")
@Expose
private String StartTime;
/**
* 任务类型
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("TaskType")
@Expose
private String TaskType;
/**
* 实例名称
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("InstanceName")
@Expose
private String InstanceName;
/**
* 实例Id
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("InstanceId")
@Expose
private String InstanceId;
/**
* 项目Id
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("ProjectId")
@Expose
private Long ProjectId;
/**
* 任务进度
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("Progress")
@Expose
private Float Progress;
/**
* 结束时间
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("EndTime")
@Expose
private String EndTime;
/**
* 任务状态
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("Result")
@Expose
private Long Result;
/**
* Get 任务Id
注意:此字段可能返回 null,表示取不到有效值。
* @return TaskId 任务Id
注意:此字段可能返回 null,表示取不到有效值。
*/
public Long getTaskId() {
return this.TaskId;
}
/**
* Set 任务Id
注意:此字段可能返回 null,表示取不到有效值。
* @param TaskId 任务Id
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setTaskId(Long TaskId) {
this.TaskId = TaskId;
}
/**
* Get 开始时间
注意:此字段可能返回 null,表示取不到有效值。
* @return StartTime 开始时间
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getStartTime() {
return this.StartTime;
}
/**
* Set 开始时间
注意:此字段可能返回 null,表示取不到有效值。
* @param StartTime 开始时间
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setStartTime(String StartTime) {
this.StartTime = StartTime;
}
/**
* Get 任务类型
注意:此字段可能返回 null,表示取不到有效值。
* @return TaskType 任务类型
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getTaskType() {
return this.TaskType;
}
/**
* Set 任务类型
注意:此字段可能返回 null,表示取不到有效值。
* @param TaskType 任务类型
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setTaskType(String TaskType) {
this.TaskType = TaskType;
}
/**
* Get 实例名称
注意:此字段可能返回 null,表示取不到有效值。
* @return InstanceName 实例名称
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getInstanceName() {
return this.InstanceName;
}
/**
* Set 实例名称
注意:此字段可能返回 null,表示取不到有效值。
* @param InstanceName 实例名称
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setInstanceName(String InstanceName) {
this.InstanceName = InstanceName;
}
/**
* Get 实例Id
注意:此字段可能返回 null,表示取不到有效值。
* @return InstanceId 实例Id
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getInstanceId() {
return this.InstanceId;
}
/**
* Set 实例Id
注意:此字段可能返回 null,表示取不到有效值。
* @param InstanceId 实例Id
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setInstanceId(String InstanceId) {
this.InstanceId = InstanceId;
}
/**
* Get 项目Id
注意:此字段可能返回 null,表示取不到有效值。
* @return ProjectId 项目Id
注意:此字段可能返回 null,表示取不到有效值。
*/
public Long getProjectId() {
return this.ProjectId;
}
/**
* Set 项目Id
注意:此字段可能返回 null,表示取不到有效值。
* @param ProjectId 项目Id
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setProjectId(Long ProjectId) {
this.ProjectId = ProjectId;
}
/**
* Get 任务进度
注意:此字段可能返回 null,表示取不到有效值。
* @return Progress 任务进度
注意:此字段可能返回 null,表示取不到有效值。
*/
public Float getProgress() {
return this.Progress;
}
/**
* Set 任务进度
注意:此字段可能返回 null,表示取不到有效值。
* @param Progress 任务进度
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setProgress(Float Progress) {
this.Progress = Progress;
}
/**
* Get 结束时间
注意:此字段可能返回 null,表示取不到有效值。
* @return EndTime 结束时间
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getEndTime() {
return this.EndTime;
}
/**
* Set 结束时间
注意:此字段可能返回 null,表示取不到有效值。
* @param EndTime 结束时间
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setEndTime(String EndTime) {
this.EndTime = EndTime;
}
/**
* Get 任务状态
注意:此字段可能返回 null,表示取不到有效值。
* @return Result 任务状态
注意:此字段可能返回 null,表示取不到有效值。
*/
public Long getResult() {
return this.Result;
}
/**
* Set 任务状态
注意:此字段可能返回 null,表示取不到有效值。
* @param Result 任务状态
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setResult(Long Result) {
this.Result = Result;
}
public TaskInfoDetail() {
}
/**
* 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 TaskInfoDetail(TaskInfoDetail source) {
if (source.TaskId != null) {
this.TaskId = new Long(source.TaskId);
}
if (source.StartTime != null) {
this.StartTime = new String(source.StartTime);
}
if (source.TaskType != null) {
this.TaskType = new String(source.TaskType);
}
if (source.InstanceName != null) {
this.InstanceName = new String(source.InstanceName);
}
if (source.InstanceId != null) {
this.InstanceId = new String(source.InstanceId);
}
if (source.ProjectId != null) {
this.ProjectId = new Long(source.ProjectId);
}
if (source.Progress != null) {
this.Progress = new Float(source.Progress);
}
if (source.EndTime != null) {
this.EndTime = new String(source.EndTime);
}
if (source.Result != null) {
this.Result = new Long(source.Result);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "TaskId", this.TaskId);
this.setParamSimple(map, prefix + "StartTime", this.StartTime);
this.setParamSimple(map, prefix + "TaskType", this.TaskType);
this.setParamSimple(map, prefix + "InstanceName", this.InstanceName);
this.setParamSimple(map, prefix + "InstanceId", this.InstanceId);
this.setParamSimple(map, prefix + "ProjectId", this.ProjectId);
this.setParamSimple(map, prefix + "Progress", this.Progress);
this.setParamSimple(map, prefix + "EndTime", this.EndTime);
this.setParamSimple(map, prefix + "Result", this.Result);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy