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

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

There is a newer version: 3.0.1034
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.tencentcloudapi.common.SSEResponseModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;

public class QualityEnhanceTask extends AbstractModel {

    /**
    * Task Id.
    */
    @SerializedName("TaskId")
    @Expose
    private String TaskId;

    /**
    * Task flow status, values:
  • PROCESSING: Processing;
  • FINISH: Completed.
  • */ @SerializedName("Status") @Expose private String Status; /** * Error code, 0 means success, other values u200bu200bmean failure:
  • 40000: The input parameters are illegal, please check the input parameters;
  • 60000: Source file error (such as video data damage), Please confirm whether the source file is normal;
  • 70000: Internal service error, it is recommended to try again.
  • */ @SerializedName("ErrCode") @Expose private Long ErrCode; /** * Error message. */ @SerializedName("Message") @Expose private String Message; /** * Error code. An empty string indicates success. Other values u200bu200bindicate failure. For values, please refer to [Video Processing Error Code](https://www.tencentcloud.com/document/product/266/39145) list. */ @SerializedName("ErrCodeExt") @Expose private String ErrCodeExt; /** * Media quality enhance task progress, value range [0-100]. */ @SerializedName("Progress") @Expose private Long Progress; /** * Input for media quality enhance task. Note: This field may return null, indicating that no valid value can be obtained. */ @SerializedName("Input") @Expose private QualityEnhanceTaskInput Input; /** * Output of the media quality enhance task. Note: This field may return null, indicating that no valid value can be obtained. */ @SerializedName("Output") @Expose private QualityEnhanceTaskOutput Output; /** * Media quality enhance outputs meta-information of the video. Note: This field may return null, indicating that no valid value can be obtained. */ @SerializedName("MetaData") @Expose private MediaMetaData MetaData; /** * Identification code used for deduplication. If there is a request for the same identification code within seven days, this request will return an error. The maximum length is 50 characters, without or with an empty string to indicate no deduplication. */ @SerializedName("SessionId") @Expose private String SessionId; /** * Source context, used to transparently transmit user request information. The task flow status change callback will return the value of this field, which can be up to 1000 characters. */ @SerializedName("SessionContext") @Expose private String SessionContext; /** * Get Task Id. * @return TaskId Task Id. */ public String getTaskId() { return this.TaskId; } /** * Set Task Id. * @param TaskId Task Id. */ public void setTaskId(String TaskId) { this.TaskId = TaskId; } /** * Get Task flow status, values:
  • PROCESSING: Processing;
  • FINISH: Completed.
  • * @return Status Task flow status, values:
  • PROCESSING: Processing;
  • FINISH: Completed.
  • */ public String getStatus() { return this.Status; } /** * Set Task flow status, values:
  • PROCESSING: Processing;
  • FINISH: Completed.
  • * @param Status Task flow status, values:
  • PROCESSING: Processing;
  • FINISH: Completed.
  • */ public void setStatus(String Status) { this.Status = Status; } /** * Get Error code, 0 means success, other values u200bu200bmean failure:
  • 40000: The input parameters are illegal, please check the input parameters;
  • 60000: Source file error (such as video data damage), Please confirm whether the source file is normal;
  • 70000: Internal service error, it is recommended to try again.
  • * @return ErrCode Error code, 0 means success, other values u200bu200bmean failure:
  • 40000: The input parameters are illegal, please check the input parameters;
  • 60000: Source file error (such as video data damage), Please confirm whether the source file is normal;
  • 70000: Internal service error, it is recommended to try again.
  • */ public Long getErrCode() { return this.ErrCode; } /** * Set Error code, 0 means success, other values u200bu200bmean failure:
  • 40000: The input parameters are illegal, please check the input parameters;
  • 60000: Source file error (such as video data damage), Please confirm whether the source file is normal;
  • 70000: Internal service error, it is recommended to try again.
  • * @param ErrCode Error code, 0 means success, other values u200bu200bmean failure:
  • 40000: The input parameters are illegal, please check the input parameters;
  • 60000: Source file error (such as video data damage), Please confirm whether the source file is normal;
  • 70000: Internal service error, it is recommended to try again.
  • */ public void setErrCode(Long ErrCode) { this.ErrCode = ErrCode; } /** * Get Error message. * @return Message Error message. */ public String getMessage() { return this.Message; } /** * Set Error message. * @param Message Error message. */ public void setMessage(String Message) { this.Message = Message; } /** * Get Error code. An empty string indicates success. Other values u200bu200bindicate failure. For values, please refer to [Video Processing Error Code](https://www.tencentcloud.com/document/product/266/39145) list. * @return ErrCodeExt Error code. An empty string indicates success. Other values u200bu200bindicate failure. For values, please refer to [Video Processing Error Code](https://www.tencentcloud.com/document/product/266/39145) list. */ public String getErrCodeExt() { return this.ErrCodeExt; } /** * Set Error code. An empty string indicates success. Other values u200bu200bindicate failure. For values, please refer to [Video Processing Error Code](https://www.tencentcloud.com/document/product/266/39145) list. * @param ErrCodeExt Error code. An empty string indicates success. Other values u200bu200bindicate failure. For values, please refer to [Video Processing Error Code](https://www.tencentcloud.com/document/product/266/39145) list. */ public void setErrCodeExt(String ErrCodeExt) { this.ErrCodeExt = ErrCodeExt; } /** * Get Media quality enhance task progress, value range [0-100]. * @return Progress Media quality enhance task progress, value range [0-100]. */ public Long getProgress() { return this.Progress; } /** * Set Media quality enhance task progress, value range [0-100]. * @param Progress Media quality enhance task progress, value range [0-100]. */ public void setProgress(Long Progress) { this.Progress = Progress; } /** * Get Input for media quality enhance task. Note: This field may return null, indicating that no valid value can be obtained. * @return Input Input for media quality enhance task. Note: This field may return null, indicating that no valid value can be obtained. */ public QualityEnhanceTaskInput getInput() { return this.Input; } /** * Set Input for media quality enhance task. Note: This field may return null, indicating that no valid value can be obtained. * @param Input Input for media quality enhance task. Note: This field may return null, indicating that no valid value can be obtained. */ public void setInput(QualityEnhanceTaskInput Input) { this.Input = Input; } /** * Get Output of the media quality enhance task. Note: This field may return null, indicating that no valid value can be obtained. * @return Output Output of the media quality enhance task. Note: This field may return null, indicating that no valid value can be obtained. */ public QualityEnhanceTaskOutput getOutput() { return this.Output; } /** * Set Output of the media quality enhance task. Note: This field may return null, indicating that no valid value can be obtained. * @param Output Output of the media quality enhance task. Note: This field may return null, indicating that no valid value can be obtained. */ public void setOutput(QualityEnhanceTaskOutput Output) { this.Output = Output; } /** * Get Media quality enhance outputs meta-information of the video. Note: This field may return null, indicating that no valid value can be obtained. * @return MetaData Media quality enhance outputs meta-information of the video. Note: This field may return null, indicating that no valid value can be obtained. */ public MediaMetaData getMetaData() { return this.MetaData; } /** * Set Media quality enhance outputs meta-information of the video. Note: This field may return null, indicating that no valid value can be obtained. * @param MetaData Media quality enhance outputs meta-information of the video. Note: This field may return null, indicating that no valid value can be obtained. */ public void setMetaData(MediaMetaData MetaData) { this.MetaData = MetaData; } /** * Get Identification code used for deduplication. If there is a request for the same identification code within seven days, this request will return an error. The maximum length is 50 characters, without or with an empty string to indicate no deduplication. * @return SessionId Identification code used for deduplication. If there is a request for the same identification code within seven days, this request will return an error. The maximum length is 50 characters, without or with an empty string to indicate no deduplication. */ public String getSessionId() { return this.SessionId; } /** * Set Identification code used for deduplication. If there is a request for the same identification code within seven days, this request will return an error. The maximum length is 50 characters, without or with an empty string to indicate no deduplication. * @param SessionId Identification code used for deduplication. If there is a request for the same identification code within seven days, this request will return an error. The maximum length is 50 characters, without or with an empty string to indicate no deduplication. */ public void setSessionId(String SessionId) { this.SessionId = SessionId; } /** * Get Source context, used to transparently transmit user request information. The task flow status change callback will return the value of this field, which can be up to 1000 characters. * @return SessionContext Source context, used to transparently transmit user request information. The task flow status change callback will return the value of this field, which can be up to 1000 characters. */ public String getSessionContext() { return this.SessionContext; } /** * Set Source context, used to transparently transmit user request information. The task flow status change callback will return the value of this field, which can be up to 1000 characters. * @param SessionContext Source context, used to transparently transmit user request information. The task flow status change callback will return the value of this field, which can be up to 1000 characters. */ public void setSessionContext(String SessionContext) { this.SessionContext = SessionContext; } public QualityEnhanceTask() { } /** * 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 QualityEnhanceTask(QualityEnhanceTask source) { if (source.TaskId != null) { this.TaskId = new String(source.TaskId); } if (source.Status != null) { this.Status = new String(source.Status); } if (source.ErrCode != null) { this.ErrCode = new Long(source.ErrCode); } if (source.Message != null) { this.Message = new String(source.Message); } if (source.ErrCodeExt != null) { this.ErrCodeExt = new String(source.ErrCodeExt); } if (source.Progress != null) { this.Progress = new Long(source.Progress); } if (source.Input != null) { this.Input = new QualityEnhanceTaskInput(source.Input); } if (source.Output != null) { this.Output = new QualityEnhanceTaskOutput(source.Output); } if (source.MetaData != null) { this.MetaData = new MediaMetaData(source.MetaData); } if (source.SessionId != null) { this.SessionId = new String(source.SessionId); } if (source.SessionContext != null) { this.SessionContext = new String(source.SessionContext); } } /** * 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 + "Status", this.Status); this.setParamSimple(map, prefix + "ErrCode", this.ErrCode); this.setParamSimple(map, prefix + "Message", this.Message); this.setParamSimple(map, prefix + "ErrCodeExt", this.ErrCodeExt); this.setParamSimple(map, prefix + "Progress", this.Progress); this.setParamObj(map, prefix + "Input.", this.Input); this.setParamObj(map, prefix + "Output.", this.Output); this.setParamObj(map, prefix + "MetaData.", this.MetaData); this.setParamSimple(map, prefix + "SessionId", this.SessionId); this.setParamSimple(map, prefix + "SessionContext", this.SessionContext); } }




    © 2015 - 2024 Weber Informatics LLC | Privacy Policy