
com.tencentcloudapi.vm.v20210922.models.TaskData 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.vm.v20210922.models;
import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class TaskData extends AbstractModel{
/**
* 任务ID
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("TaskId")
@Expose
private String TaskId;
/**
* 输入的数据ID
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("DataId")
@Expose
private String DataId;
/**
* 业务类型
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("BizType")
@Expose
private String BizType;
/**
* 任务名称
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("Name")
@Expose
private String Name;
/**
* 状态,可选:PENDING,RUNNING,ERROR,FINISH,CANCELLED
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("Status")
@Expose
private String Status;
/**
* 任务类型
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("Type")
@Expose
private String Type;
/**
* 处理建议
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("Suggestion")
@Expose
private String Suggestion;
/**
* 标签
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("Labels")
@Expose
private TaskLabel [] Labels;
/**
* 媒体信息
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("MediaInfo")
@Expose
private MediaInfo MediaInfo;
/**
* 输入信息
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("InputInfo")
@Expose
private InputInfo InputInfo;
/**
* 创建时间
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("CreatedAt")
@Expose
private String CreatedAt;
/**
* 更新时间
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("UpdatedAt")
@Expose
private String UpdatedAt;
/**
* Get 任务ID
注意:此字段可能返回 null,表示取不到有效值。
* @return TaskId 任务ID
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getTaskId() {
return this.TaskId;
}
/**
* Set 任务ID
注意:此字段可能返回 null,表示取不到有效值。
* @param TaskId 任务ID
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setTaskId(String TaskId) {
this.TaskId = TaskId;
}
/**
* Get 输入的数据ID
注意:此字段可能返回 null,表示取不到有效值。
* @return DataId 输入的数据ID
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getDataId() {
return this.DataId;
}
/**
* Set 输入的数据ID
注意:此字段可能返回 null,表示取不到有效值。
* @param DataId 输入的数据ID
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setDataId(String DataId) {
this.DataId = DataId;
}
/**
* Get 业务类型
注意:此字段可能返回 null,表示取不到有效值。
* @return BizType 业务类型
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getBizType() {
return this.BizType;
}
/**
* Set 业务类型
注意:此字段可能返回 null,表示取不到有效值。
* @param BizType 业务类型
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setBizType(String BizType) {
this.BizType = BizType;
}
/**
* Get 任务名称
注意:此字段可能返回 null,表示取不到有效值。
* @return Name 任务名称
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getName() {
return this.Name;
}
/**
* Set 任务名称
注意:此字段可能返回 null,表示取不到有效值。
* @param Name 任务名称
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setName(String Name) {
this.Name = Name;
}
/**
* Get 状态,可选:PENDING,RUNNING,ERROR,FINISH,CANCELLED
注意:此字段可能返回 null,表示取不到有效值。
* @return Status 状态,可选:PENDING,RUNNING,ERROR,FINISH,CANCELLED
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getStatus() {
return this.Status;
}
/**
* Set 状态,可选:PENDING,RUNNING,ERROR,FINISH,CANCELLED
注意:此字段可能返回 null,表示取不到有效值。
* @param Status 状态,可选:PENDING,RUNNING,ERROR,FINISH,CANCELLED
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setStatus(String Status) {
this.Status = Status;
}
/**
* Get 任务类型
注意:此字段可能返回 null,表示取不到有效值。
* @return Type 任务类型
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getType() {
return this.Type;
}
/**
* Set 任务类型
注意:此字段可能返回 null,表示取不到有效值。
* @param Type 任务类型
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setType(String Type) {
this.Type = Type;
}
/**
* Get 处理建议
注意:此字段可能返回 null,表示取不到有效值。
* @return Suggestion 处理建议
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getSuggestion() {
return this.Suggestion;
}
/**
* Set 处理建议
注意:此字段可能返回 null,表示取不到有效值。
* @param Suggestion 处理建议
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setSuggestion(String Suggestion) {
this.Suggestion = Suggestion;
}
/**
* Get 标签
注意:此字段可能返回 null,表示取不到有效值。
* @return Labels 标签
注意:此字段可能返回 null,表示取不到有效值。
*/
public TaskLabel [] getLabels() {
return this.Labels;
}
/**
* Set 标签
注意:此字段可能返回 null,表示取不到有效值。
* @param Labels 标签
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setLabels(TaskLabel [] Labels) {
this.Labels = Labels;
}
/**
* Get 媒体信息
注意:此字段可能返回 null,表示取不到有效值。
* @return MediaInfo 媒体信息
注意:此字段可能返回 null,表示取不到有效值。
*/
public MediaInfo getMediaInfo() {
return this.MediaInfo;
}
/**
* Set 媒体信息
注意:此字段可能返回 null,表示取不到有效值。
* @param MediaInfo 媒体信息
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setMediaInfo(MediaInfo MediaInfo) {
this.MediaInfo = MediaInfo;
}
/**
* Get 输入信息
注意:此字段可能返回 null,表示取不到有效值。
* @return InputInfo 输入信息
注意:此字段可能返回 null,表示取不到有效值。
*/
public InputInfo getInputInfo() {
return this.InputInfo;
}
/**
* Set 输入信息
注意:此字段可能返回 null,表示取不到有效值。
* @param InputInfo 输入信息
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setInputInfo(InputInfo InputInfo) {
this.InputInfo = InputInfo;
}
/**
* Get 创建时间
注意:此字段可能返回 null,表示取不到有效值。
* @return CreatedAt 创建时间
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getCreatedAt() {
return this.CreatedAt;
}
/**
* Set 创建时间
注意:此字段可能返回 null,表示取不到有效值。
* @param CreatedAt 创建时间
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setCreatedAt(String CreatedAt) {
this.CreatedAt = CreatedAt;
}
/**
* Get 更新时间
注意:此字段可能返回 null,表示取不到有效值。
* @return UpdatedAt 更新时间
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getUpdatedAt() {
return this.UpdatedAt;
}
/**
* Set 更新时间
注意:此字段可能返回 null,表示取不到有效值。
* @param UpdatedAt 更新时间
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setUpdatedAt(String UpdatedAt) {
this.UpdatedAt = UpdatedAt;
}
public TaskData() {
}
/**
* 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 TaskData(TaskData source) {
if (source.TaskId != null) {
this.TaskId = new String(source.TaskId);
}
if (source.DataId != null) {
this.DataId = new String(source.DataId);
}
if (source.BizType != null) {
this.BizType = new String(source.BizType);
}
if (source.Name != null) {
this.Name = new String(source.Name);
}
if (source.Status != null) {
this.Status = new String(source.Status);
}
if (source.Type != null) {
this.Type = new String(source.Type);
}
if (source.Suggestion != null) {
this.Suggestion = new String(source.Suggestion);
}
if (source.Labels != null) {
this.Labels = new TaskLabel[source.Labels.length];
for (int i = 0; i < source.Labels.length; i++) {
this.Labels[i] = new TaskLabel(source.Labels[i]);
}
}
if (source.MediaInfo != null) {
this.MediaInfo = new MediaInfo(source.MediaInfo);
}
if (source.InputInfo != null) {
this.InputInfo = new InputInfo(source.InputInfo);
}
if (source.CreatedAt != null) {
this.CreatedAt = new String(source.CreatedAt);
}
if (source.UpdatedAt != null) {
this.UpdatedAt = new String(source.UpdatedAt);
}
}
/**
* 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 + "DataId", this.DataId);
this.setParamSimple(map, prefix + "BizType", this.BizType);
this.setParamSimple(map, prefix + "Name", this.Name);
this.setParamSimple(map, prefix + "Status", this.Status);
this.setParamSimple(map, prefix + "Type", this.Type);
this.setParamSimple(map, prefix + "Suggestion", this.Suggestion);
this.setParamArrayObj(map, prefix + "Labels.", this.Labels);
this.setParamObj(map, prefix + "MediaInfo.", this.MediaInfo);
this.setParamObj(map, prefix + "InputInfo.", this.InputInfo);
this.setParamSimple(map, prefix + "CreatedAt", this.CreatedAt);
this.setParamSimple(map, prefix + "UpdatedAt", this.UpdatedAt);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy