com.tencentcloudapi.vm.v20210922.models.TaskData Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tencentcloud-sdk-java-intl-en Show documentation
Show all versions of tencentcloud-sdk-java-intl-en Show documentation
Tencent Cloud 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.vm.v20210922.models;
import com.tencentcloudapi.common.AbstractModel;
import com.tencentcloudapi.common.SSEResponseModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class TaskData extends AbstractModel {
/**
* Task ID
Note: This field may return null, indicating that no valid values can be obtained.
*/
@SerializedName("TaskId")
@Expose
private String TaskId;
/**
* Data ID
Note: This field may return null, indicating that no valid values can be obtained.
*/
@SerializedName("DataId")
@Expose
private String DataId;
/**
* Service type
Note: This field may return null, indicating that no valid values can be obtained.
*/
@SerializedName("BizType")
@Expose
private String BizType;
/**
* Task name
Note: This field may return null, indicating that no valid values can be obtained.
*/
@SerializedName("Name")
@Expose
private String Name;
/**
* Task status. Values: `PENDING`, `RUNNING`, `ERROR`, `FINISH`, and `CANCELLED`.
Note: This field may return null, indicating that no valid values can be obtained.
*/
@SerializedName("Status")
@Expose
private String Status;
/**
* Task type
Note: This field may return null, indicating that no valid values can be obtained.
*/
@SerializedName("Type")
@Expose
private String Type;
/**
* Suggestion
Note: This field may return null, indicating that no valid values can be obtained.
*/
@SerializedName("Suggestion")
@Expose
private String Suggestion;
/**
* Tag
Note: This field may return null, indicating that no valid values can be obtained.
*/
@SerializedName("Labels")
@Expose
private TaskLabel [] Labels;
/**
* Media information
Note: This field may return null, indicating that no valid values can be obtained.
*/
@SerializedName("MediaInfo")
@Expose
private MediaInfo MediaInfo;
/**
* Input information
Note: This field may return null, indicating that no valid values can be obtained.
*/
@SerializedName("InputInfo")
@Expose
private InputInfo InputInfo;
/**
* Creation time
Note: This field may return null, indicating that no valid values can be obtained.
*/
@SerializedName("CreatedAt")
@Expose
private String CreatedAt;
/**
* Update time
Note: This field may return null, indicating that no valid values can be obtained.
*/
@SerializedName("UpdatedAt")
@Expose
private String UpdatedAt;
/**
* Get Task ID
Note: This field may return null, indicating that no valid values can be obtained.
* @return TaskId Task ID
Note: This field may return null, indicating that no valid values can be obtained.
*/
public String getTaskId() {
return this.TaskId;
}
/**
* Set Task ID
Note: This field may return null, indicating that no valid values can be obtained.
* @param TaskId Task ID
Note: This field may return null, indicating that no valid values can be obtained.
*/
public void setTaskId(String TaskId) {
this.TaskId = TaskId;
}
/**
* Get Data ID
Note: This field may return null, indicating that no valid values can be obtained.
* @return DataId Data ID
Note: This field may return null, indicating that no valid values can be obtained.
*/
public String getDataId() {
return this.DataId;
}
/**
* Set Data ID
Note: This field may return null, indicating that no valid values can be obtained.
* @param DataId Data ID
Note: This field may return null, indicating that no valid values can be obtained.
*/
public void setDataId(String DataId) {
this.DataId = DataId;
}
/**
* Get Service type
Note: This field may return null, indicating that no valid values can be obtained.
* @return BizType Service type
Note: This field may return null, indicating that no valid values can be obtained.
*/
public String getBizType() {
return this.BizType;
}
/**
* Set Service type
Note: This field may return null, indicating that no valid values can be obtained.
* @param BizType Service type
Note: This field may return null, indicating that no valid values can be obtained.
*/
public void setBizType(String BizType) {
this.BizType = BizType;
}
/**
* Get Task name
Note: This field may return null, indicating that no valid values can be obtained.
* @return Name Task name
Note: This field may return null, indicating that no valid values can be obtained.
*/
public String getName() {
return this.Name;
}
/**
* Set Task name
Note: This field may return null, indicating that no valid values can be obtained.
* @param Name Task name
Note: This field may return null, indicating that no valid values can be obtained.
*/
public void setName(String Name) {
this.Name = Name;
}
/**
* Get Task status. Values: `PENDING`, `RUNNING`, `ERROR`, `FINISH`, and `CANCELLED`.
Note: This field may return null, indicating that no valid values can be obtained.
* @return Status Task status. Values: `PENDING`, `RUNNING`, `ERROR`, `FINISH`, and `CANCELLED`.
Note: This field may return null, indicating that no valid values can be obtained.
*/
public String getStatus() {
return this.Status;
}
/**
* Set Task status. Values: `PENDING`, `RUNNING`, `ERROR`, `FINISH`, and `CANCELLED`.
Note: This field may return null, indicating that no valid values can be obtained.
* @param Status Task status. Values: `PENDING`, `RUNNING`, `ERROR`, `FINISH`, and `CANCELLED`.
Note: This field may return null, indicating that no valid values can be obtained.
*/
public void setStatus(String Status) {
this.Status = Status;
}
/**
* Get Task type
Note: This field may return null, indicating that no valid values can be obtained.
* @return Type Task type
Note: This field may return null, indicating that no valid values can be obtained.
*/
public String getType() {
return this.Type;
}
/**
* Set Task type
Note: This field may return null, indicating that no valid values can be obtained.
* @param Type Task type
Note: This field may return null, indicating that no valid values can be obtained.
*/
public void setType(String Type) {
this.Type = Type;
}
/**
* Get Suggestion
Note: This field may return null, indicating that no valid values can be obtained.
* @return Suggestion Suggestion
Note: This field may return null, indicating that no valid values can be obtained.
*/
public String getSuggestion() {
return this.Suggestion;
}
/**
* Set Suggestion
Note: This field may return null, indicating that no valid values can be obtained.
* @param Suggestion Suggestion
Note: This field may return null, indicating that no valid values can be obtained.
*/
public void setSuggestion(String Suggestion) {
this.Suggestion = Suggestion;
}
/**
* Get Tag
Note: This field may return null, indicating that no valid values can be obtained.
* @return Labels Tag
Note: This field may return null, indicating that no valid values can be obtained.
*/
public TaskLabel [] getLabels() {
return this.Labels;
}
/**
* Set Tag
Note: This field may return null, indicating that no valid values can be obtained.
* @param Labels Tag
Note: This field may return null, indicating that no valid values can be obtained.
*/
public void setLabels(TaskLabel [] Labels) {
this.Labels = Labels;
}
/**
* Get Media information
Note: This field may return null, indicating that no valid values can be obtained.
* @return MediaInfo Media information
Note: This field may return null, indicating that no valid values can be obtained.
*/
public MediaInfo getMediaInfo() {
return this.MediaInfo;
}
/**
* Set Media information
Note: This field may return null, indicating that no valid values can be obtained.
* @param MediaInfo Media information
Note: This field may return null, indicating that no valid values can be obtained.
*/
public void setMediaInfo(MediaInfo MediaInfo) {
this.MediaInfo = MediaInfo;
}
/**
* Get Input information
Note: This field may return null, indicating that no valid values can be obtained.
* @return InputInfo Input information
Note: This field may return null, indicating that no valid values can be obtained.
*/
public InputInfo getInputInfo() {
return this.InputInfo;
}
/**
* Set Input information
Note: This field may return null, indicating that no valid values can be obtained.
* @param InputInfo Input information
Note: This field may return null, indicating that no valid values can be obtained.
*/
public void setInputInfo(InputInfo InputInfo) {
this.InputInfo = InputInfo;
}
/**
* Get Creation time
Note: This field may return null, indicating that no valid values can be obtained.
* @return CreatedAt Creation time
Note: This field may return null, indicating that no valid values can be obtained.
*/
public String getCreatedAt() {
return this.CreatedAt;
}
/**
* Set Creation time
Note: This field may return null, indicating that no valid values can be obtained.
* @param CreatedAt Creation time
Note: This field may return null, indicating that no valid values can be obtained.
*/
public void setCreatedAt(String CreatedAt) {
this.CreatedAt = CreatedAt;
}
/**
* Get Update time
Note: This field may return null, indicating that no valid values can be obtained.
* @return UpdatedAt Update time
Note: This field may return null, indicating that no valid values can be obtained.
*/
public String getUpdatedAt() {
return this.UpdatedAt;
}
/**
* Set Update time
Note: This field may return null, indicating that no valid values can be obtained.
* @param UpdatedAt Update time
Note: This field may return null, indicating that no valid values can be obtained.
*/
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