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

com.tencentcloudapi.vod.v20180717.models.AiReviewTaskPoliticalOcrResult Maven / Gradle / Ivy

There is a newer version: 3.1.1054
Show newest version
/*
 * 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.vod.v20180717.models;

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

public class AiReviewTaskPoliticalOcrResult extends AbstractModel{

    /**
    * 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
    */
    @SerializedName("Status")
    @Expose
    private String Status;

    /**
    * 错误码,空字符串表示成功,其他值表示失败,取值请参考 [视频处理类错误码](https://cloud.tencent.com/document/product/266/50368#.E8.A7.86.E9.A2.91.E5.A4.84.E7.90.86.E7.B1.BB.E9.94.99.E8.AF.AF.E7.A0.81) 列表。
    */
    @SerializedName("ErrCodeExt")
    @Expose
    private String ErrCodeExt;

    /**
    * 错误码,0 表示成功,其他值表示失败(该字段已不推荐使用,建议使用新的错误码字段 ErrCodeExt)。
    */
    @SerializedName("ErrCode")
    @Expose
    private Long ErrCode;

    /**
    * 错误信息。
    */
    @SerializedName("Message")
    @Expose
    private String Message;

    /**
    * 音视频审核 Ocr 文字涉及令人不适宜信息的任务输入。
    */
    @SerializedName("Input")
    @Expose
    private AiReviewPoliticalOcrTaskInput Input;

    /**
    * 音视频审核 Ocr 文字涉及令人不适宜信息的任务输出。
注意:此字段可能返回 null,表示取不到有效值。
    */
    @SerializedName("Output")
    @Expose
    private AiReviewPoliticalOcrTaskOutput Output;

    /**
     * Get 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。 
     * @return Status 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
     */
    public String getStatus() {
        return this.Status;
    }

    /**
     * Set 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
     * @param Status 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
     */
    public void setStatus(String Status) {
        this.Status = Status;
    }

    /**
     * Get 错误码,空字符串表示成功,其他值表示失败,取值请参考 [视频处理类错误码](https://cloud.tencent.com/document/product/266/50368#.E8.A7.86.E9.A2.91.E5.A4.84.E7.90.86.E7.B1.BB.E9.94.99.E8.AF.AF.E7.A0.81) 列表。 
     * @return ErrCodeExt 错误码,空字符串表示成功,其他值表示失败,取值请参考 [视频处理类错误码](https://cloud.tencent.com/document/product/266/50368#.E8.A7.86.E9.A2.91.E5.A4.84.E7.90.86.E7.B1.BB.E9.94.99.E8.AF.AF.E7.A0.81) 列表。
     */
    public String getErrCodeExt() {
        return this.ErrCodeExt;
    }

    /**
     * Set 错误码,空字符串表示成功,其他值表示失败,取值请参考 [视频处理类错误码](https://cloud.tencent.com/document/product/266/50368#.E8.A7.86.E9.A2.91.E5.A4.84.E7.90.86.E7.B1.BB.E9.94.99.E8.AF.AF.E7.A0.81) 列表。
     * @param ErrCodeExt 错误码,空字符串表示成功,其他值表示失败,取值请参考 [视频处理类错误码](https://cloud.tencent.com/document/product/266/50368#.E8.A7.86.E9.A2.91.E5.A4.84.E7.90.86.E7.B1.BB.E9.94.99.E8.AF.AF.E7.A0.81) 列表。
     */
    public void setErrCodeExt(String ErrCodeExt) {
        this.ErrCodeExt = ErrCodeExt;
    }

    /**
     * Get 错误码,0 表示成功,其他值表示失败(该字段已不推荐使用,建议使用新的错误码字段 ErrCodeExt)。 
     * @return ErrCode 错误码,0 表示成功,其他值表示失败(该字段已不推荐使用,建议使用新的错误码字段 ErrCodeExt)。
     */
    public Long getErrCode() {
        return this.ErrCode;
    }

    /**
     * Set 错误码,0 表示成功,其他值表示失败(该字段已不推荐使用,建议使用新的错误码字段 ErrCodeExt)。
     * @param ErrCode 错误码,0 表示成功,其他值表示失败(该字段已不推荐使用,建议使用新的错误码字段 ErrCodeExt)。
     */
    public void setErrCode(Long ErrCode) {
        this.ErrCode = ErrCode;
    }

    /**
     * Get 错误信息。 
     * @return Message 错误信息。
     */
    public String getMessage() {
        return this.Message;
    }

    /**
     * Set 错误信息。
     * @param Message 错误信息。
     */
    public void setMessage(String Message) {
        this.Message = Message;
    }

    /**
     * Get 音视频审核 Ocr 文字涉及令人不适宜信息的任务输入。 
     * @return Input 音视频审核 Ocr 文字涉及令人不适宜信息的任务输入。
     */
    public AiReviewPoliticalOcrTaskInput getInput() {
        return this.Input;
    }

    /**
     * Set 音视频审核 Ocr 文字涉及令人不适宜信息的任务输入。
     * @param Input 音视频审核 Ocr 文字涉及令人不适宜信息的任务输入。
     */
    public void setInput(AiReviewPoliticalOcrTaskInput Input) {
        this.Input = Input;
    }

    /**
     * Get 音视频审核 Ocr 文字涉及令人不适宜信息的任务输出。
注意:此字段可能返回 null,表示取不到有效值。 
     * @return Output 音视频审核 Ocr 文字涉及令人不适宜信息的任务输出。
注意:此字段可能返回 null,表示取不到有效值。
     */
    public AiReviewPoliticalOcrTaskOutput getOutput() {
        return this.Output;
    }

    /**
     * Set 音视频审核 Ocr 文字涉及令人不适宜信息的任务输出。
注意:此字段可能返回 null,表示取不到有效值。
     * @param Output 音视频审核 Ocr 文字涉及令人不适宜信息的任务输出。
注意:此字段可能返回 null,表示取不到有效值。
     */
    public void setOutput(AiReviewPoliticalOcrTaskOutput Output) {
        this.Output = Output;
    }

    public AiReviewTaskPoliticalOcrResult() {
    }

    /**
     * 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 AiReviewTaskPoliticalOcrResult(AiReviewTaskPoliticalOcrResult source) {
        if (source.Status != null) {
            this.Status = new String(source.Status);
        }
        if (source.ErrCodeExt != null) {
            this.ErrCodeExt = new String(source.ErrCodeExt);
        }
        if (source.ErrCode != null) {
            this.ErrCode = new Long(source.ErrCode);
        }
        if (source.Message != null) {
            this.Message = new String(source.Message);
        }
        if (source.Input != null) {
            this.Input = new AiReviewPoliticalOcrTaskInput(source.Input);
        }
        if (source.Output != null) {
            this.Output = new AiReviewPoliticalOcrTaskOutput(source.Output);
        }
    }


    /**
     * Internal implementation, normal users should not use it.
     */
    public void toMap(HashMap map, String prefix) {
        this.setParamSimple(map, prefix + "Status", this.Status);
        this.setParamSimple(map, prefix + "ErrCodeExt", this.ErrCodeExt);
        this.setParamSimple(map, prefix + "ErrCode", this.ErrCode);
        this.setParamSimple(map, prefix + "Message", this.Message);
        this.setParamObj(map, prefix + "Input.", this.Input);
        this.setParamObj(map, prefix + "Output.", this.Output);

    }
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy