All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.tencentcloudapi.vm.v20200709.models.DescribeTaskDetailResponse 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.v20200709.models;

import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;

public class DescribeTaskDetailResponse 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;

    /**
    * 状态,可选值:
FINISH 已完成
PENDING 等待中
RUNNING 进行中
ERROR 出错
CANCELLED 已取消
注意:此字段可能返回 null,表示取不到有效值。
    */
    @SerializedName("Status")
    @Expose
    private String Status;

    /**
    * 类型
注意:此字段可能返回 null,表示取不到有效值。
    */
    @SerializedName("Type")
    @Expose
    private String Type;

    /**
    * 审核建议
可选:
Pass 通过
Reveiw 建议复审
Block 确认违规
注意:此字段可能返回 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;

    /**
    * 在秒后重试
注意:此字段可能返回 null,表示取不到有效值。
    */
    @SerializedName("TryInSeconds")
    @Expose
    private Long TryInSeconds;

    /**
    * 图片结果
注意:此字段可能返回 null,表示取不到有效值。
    */
    @SerializedName("ImageSegments")
    @Expose
    private ImageSegments [] ImageSegments;

    /**
    * 音频结果
注意:此字段可能返回 null,表示取不到有效值。
    */
    @SerializedName("AudioSegments")
    @Expose
    private AudioSegments [] AudioSegments;

    /**
    * 如果返回的状态为ERROR,该字段会标记错误类型。
可选值::
DECODE_ERROR: 解码失败。(输入资源中可能包含无法解码的视频)
URL_ERROR:下载地址验证失败。
TIMEOUT_ERROR:处理超时。
注意:此字段可能返回 null,表示取不到有效值。
    */
    @SerializedName("ErrorType")
    @Expose
    private String ErrorType;

    /**
    * 审核任务错误日志。当Error不为空时,会展示该字段
注意:此字段可能返回 null,表示取不到有效值。
    */
    @SerializedName("ErrorDescription")
    @Expose
    private String ErrorDescription;

    /**
    * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
    */
    @SerializedName("RequestId")
    @Expose
    private String RequestId;

    /**
     * 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 状态,可选值:
FINISH 已完成
PENDING 等待中
RUNNING 进行中
ERROR 出错
CANCELLED 已取消
注意:此字段可能返回 null,表示取不到有效值。 
     * @return Status 状态,可选值:
FINISH 已完成
PENDING 等待中
RUNNING 进行中
ERROR 出错
CANCELLED 已取消
注意:此字段可能返回 null,表示取不到有效值。
     */
    public String getStatus() {
        return this.Status;
    }

    /**
     * Set 状态,可选值:
FINISH 已完成
PENDING 等待中
RUNNING 进行中
ERROR 出错
CANCELLED 已取消
注意:此字段可能返回 null,表示取不到有效值。
     * @param Status 状态,可选值:
FINISH 已完成
PENDING 等待中
RUNNING 进行中
ERROR 出错
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 审核建议
可选:
Pass 通过
Reveiw 建议复审
Block 确认违规
注意:此字段可能返回 null,表示取不到有效值。 
     * @return Suggestion 审核建议
可选:
Pass 通过
Reveiw 建议复审
Block 确认违规
注意:此字段可能返回 null,表示取不到有效值。
     */
    public String getSuggestion() {
        return this.Suggestion;
    }

    /**
     * Set 审核建议
可选:
Pass 通过
Reveiw 建议复审
Block 确认违规
注意:此字段可能返回 null,表示取不到有效值。
     * @param Suggestion 审核建议
可选:
Pass 通过
Reveiw 建议复审
Block 确认违规
注意:此字段可能返回 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;
    }

    /**
     * Get 在秒后重试
注意:此字段可能返回 null,表示取不到有效值。 
     * @return TryInSeconds 在秒后重试
注意:此字段可能返回 null,表示取不到有效值。
     */
    public Long getTryInSeconds() {
        return this.TryInSeconds;
    }

    /**
     * Set 在秒后重试
注意:此字段可能返回 null,表示取不到有效值。
     * @param TryInSeconds 在秒后重试
注意:此字段可能返回 null,表示取不到有效值。
     */
    public void setTryInSeconds(Long TryInSeconds) {
        this.TryInSeconds = TryInSeconds;
    }

    /**
     * Get 图片结果
注意:此字段可能返回 null,表示取不到有效值。 
     * @return ImageSegments 图片结果
注意:此字段可能返回 null,表示取不到有效值。
     */
    public ImageSegments [] getImageSegments() {
        return this.ImageSegments;
    }

    /**
     * Set 图片结果
注意:此字段可能返回 null,表示取不到有效值。
     * @param ImageSegments 图片结果
注意:此字段可能返回 null,表示取不到有效值。
     */
    public void setImageSegments(ImageSegments [] ImageSegments) {
        this.ImageSegments = ImageSegments;
    }

    /**
     * Get 音频结果
注意:此字段可能返回 null,表示取不到有效值。 
     * @return AudioSegments 音频结果
注意:此字段可能返回 null,表示取不到有效值。
     */
    public AudioSegments [] getAudioSegments() {
        return this.AudioSegments;
    }

    /**
     * Set 音频结果
注意:此字段可能返回 null,表示取不到有效值。
     * @param AudioSegments 音频结果
注意:此字段可能返回 null,表示取不到有效值。
     */
    public void setAudioSegments(AudioSegments [] AudioSegments) {
        this.AudioSegments = AudioSegments;
    }

    /**
     * Get 如果返回的状态为ERROR,该字段会标记错误类型。
可选值::
DECODE_ERROR: 解码失败。(输入资源中可能包含无法解码的视频)
URL_ERROR:下载地址验证失败。
TIMEOUT_ERROR:处理超时。
注意:此字段可能返回 null,表示取不到有效值。 
     * @return ErrorType 如果返回的状态为ERROR,该字段会标记错误类型。
可选值::
DECODE_ERROR: 解码失败。(输入资源中可能包含无法解码的视频)
URL_ERROR:下载地址验证失败。
TIMEOUT_ERROR:处理超时。
注意:此字段可能返回 null,表示取不到有效值。
     */
    public String getErrorType() {
        return this.ErrorType;
    }

    /**
     * Set 如果返回的状态为ERROR,该字段会标记错误类型。
可选值::
DECODE_ERROR: 解码失败。(输入资源中可能包含无法解码的视频)
URL_ERROR:下载地址验证失败。
TIMEOUT_ERROR:处理超时。
注意:此字段可能返回 null,表示取不到有效值。
     * @param ErrorType 如果返回的状态为ERROR,该字段会标记错误类型。
可选值::
DECODE_ERROR: 解码失败。(输入资源中可能包含无法解码的视频)
URL_ERROR:下载地址验证失败。
TIMEOUT_ERROR:处理超时。
注意:此字段可能返回 null,表示取不到有效值。
     */
    public void setErrorType(String ErrorType) {
        this.ErrorType = ErrorType;
    }

    /**
     * Get 审核任务错误日志。当Error不为空时,会展示该字段
注意:此字段可能返回 null,表示取不到有效值。 
     * @return ErrorDescription 审核任务错误日志。当Error不为空时,会展示该字段
注意:此字段可能返回 null,表示取不到有效值。
     */
    public String getErrorDescription() {
        return this.ErrorDescription;
    }

    /**
     * Set 审核任务错误日志。当Error不为空时,会展示该字段
注意:此字段可能返回 null,表示取不到有效值。
     * @param ErrorDescription 审核任务错误日志。当Error不为空时,会展示该字段
注意:此字段可能返回 null,表示取不到有效值。
     */
    public void setErrorDescription(String ErrorDescription) {
        this.ErrorDescription = ErrorDescription;
    }

    /**
     * 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;
    }

    /**
     * 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);
        this.setParamSimple(map, prefix + "TryInSeconds", this.TryInSeconds);
        this.setParamArrayObj(map, prefix + "ImageSegments.", this.ImageSegments);
        this.setParamArrayObj(map, prefix + "AudioSegments.", this.AudioSegments);
        this.setParamSimple(map, prefix + "ErrorType", this.ErrorType);
        this.setParamSimple(map, prefix + "ErrorDescription", this.ErrorDescription);
        this.setParamSimple(map, prefix + "RequestId", this.RequestId);

    }
}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy