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

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

There is a newer version: 3.1.1104
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 ComposeMediaTask extends AbstractModel{

    /**
    * 任务 ID。
    */
    @SerializedName("TaskId")
    @Expose
    private String TaskId;

    /**
    * 任务流状态,取值:
  • PROCESSING:处理中;
  • FINISH:已完成。
  • */ @SerializedName("Status") @Expose private String Status; /** * 错误码
  • 0:成功;
  • 其他值:失败。
  • */ @SerializedName("ErrCode") @Expose private Long ErrCode; /** * 错误信息。 */ @SerializedName("Message") @Expose private String Message; /** * 制作媒体文件任务进度,取值范围 [0-100] 。 */ @SerializedName("Progress") @Expose private Long Progress; /** * 制作媒体文件任务的输入。 注意:此字段可能返回 null,表示取不到有效值。 */ @SerializedName("Input") @Expose private ComposeMediaTaskInput Input; /** * 制作媒体文件任务的输出。 注意:此字段可能返回 null,表示取不到有效值。 */ @SerializedName("Output") @Expose private ComposeMediaTaskOutput Output; /** * 原始视频的元信息。 注意:此字段可能返回 null,表示取不到有效值。 */ @SerializedName("MetaData") @Expose private MediaMetaData MetaData; /** * 用于去重的识别码,如果七天内曾有过相同的识别码的请求,则本次的请求会返回错误。最长 50 个字符,不带或者带空字符串表示不做去重。 */ @SerializedName("SessionId") @Expose private String SessionId; /** * 来源上下文,用于透传用户请求信息,任务流状态变更回调将返回该字段值,最长 1000 个字符。 */ @SerializedName("SessionContext") @Expose private String SessionContext; /** * Get 任务 ID。 * @return TaskId 任务 ID。 */ public String getTaskId() { return this.TaskId; } /** * Set 任务 ID。 * @param TaskId 任务 ID。 */ public void setTaskId(String TaskId) { this.TaskId = TaskId; } /** * Get 任务流状态,取值:
  • PROCESSING:处理中;
  • FINISH:已完成。
  • * @return Status 任务流状态,取值:
  • PROCESSING:处理中;
  • FINISH:已完成。
  • */ public String getStatus() { return this.Status; } /** * Set 任务流状态,取值:
  • PROCESSING:处理中;
  • FINISH:已完成。
  • * @param Status 任务流状态,取值:
  • PROCESSING:处理中;
  • FINISH:已完成。
  • */ public void setStatus(String Status) { this.Status = Status; } /** * Get 错误码
  • 0:成功;
  • 其他值:失败。
  • * @return ErrCode 错误码
  • 0:成功;
  • 其他值:失败。
  • */ public Long getErrCode() { return this.ErrCode; } /** * Set 错误码
  • 0:成功;
  • 其他值:失败。
  • * @param ErrCode 错误码
  • 0:成功;
  • 其他值:失败。
  • */ 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 制作媒体文件任务进度,取值范围 [0-100] 。 * @return Progress 制作媒体文件任务进度,取值范围 [0-100] 。 */ public Long getProgress() { return this.Progress; } /** * Set 制作媒体文件任务进度,取值范围 [0-100] 。 * @param Progress 制作媒体文件任务进度,取值范围 [0-100] 。 */ public void setProgress(Long Progress) { this.Progress = Progress; } /** * Get 制作媒体文件任务的输入。 注意:此字段可能返回 null,表示取不到有效值。 * @return Input 制作媒体文件任务的输入。 注意:此字段可能返回 null,表示取不到有效值。 */ public ComposeMediaTaskInput getInput() { return this.Input; } /** * Set 制作媒体文件任务的输入。 注意:此字段可能返回 null,表示取不到有效值。 * @param Input 制作媒体文件任务的输入。 注意:此字段可能返回 null,表示取不到有效值。 */ public void setInput(ComposeMediaTaskInput Input) { this.Input = Input; } /** * Get 制作媒体文件任务的输出。 注意:此字段可能返回 null,表示取不到有效值。 * @return Output 制作媒体文件任务的输出。 注意:此字段可能返回 null,表示取不到有效值。 */ public ComposeMediaTaskOutput getOutput() { return this.Output; } /** * Set 制作媒体文件任务的输出。 注意:此字段可能返回 null,表示取不到有效值。 * @param Output 制作媒体文件任务的输出。 注意:此字段可能返回 null,表示取不到有效值。 */ public void setOutput(ComposeMediaTaskOutput Output) { this.Output = Output; } /** * Get 原始视频的元信息。 注意:此字段可能返回 null,表示取不到有效值。 * @return MetaData 原始视频的元信息。 注意:此字段可能返回 null,表示取不到有效值。 */ public MediaMetaData getMetaData() { return this.MetaData; } /** * Set 原始视频的元信息。 注意:此字段可能返回 null,表示取不到有效值。 * @param MetaData 原始视频的元信息。 注意:此字段可能返回 null,表示取不到有效值。 */ public void setMetaData(MediaMetaData MetaData) { this.MetaData = MetaData; } /** * Get 用于去重的识别码,如果七天内曾有过相同的识别码的请求,则本次的请求会返回错误。最长 50 个字符,不带或者带空字符串表示不做去重。 * @return SessionId 用于去重的识别码,如果七天内曾有过相同的识别码的请求,则本次的请求会返回错误。最长 50 个字符,不带或者带空字符串表示不做去重。 */ public String getSessionId() { return this.SessionId; } /** * Set 用于去重的识别码,如果七天内曾有过相同的识别码的请求,则本次的请求会返回错误。最长 50 个字符,不带或者带空字符串表示不做去重。 * @param SessionId 用于去重的识别码,如果七天内曾有过相同的识别码的请求,则本次的请求会返回错误。最长 50 个字符,不带或者带空字符串表示不做去重。 */ public void setSessionId(String SessionId) { this.SessionId = SessionId; } /** * Get 来源上下文,用于透传用户请求信息,任务流状态变更回调将返回该字段值,最长 1000 个字符。 * @return SessionContext 来源上下文,用于透传用户请求信息,任务流状态变更回调将返回该字段值,最长 1000 个字符。 */ public String getSessionContext() { return this.SessionContext; } /** * Set 来源上下文,用于透传用户请求信息,任务流状态变更回调将返回该字段值,最长 1000 个字符。 * @param SessionContext 来源上下文,用于透传用户请求信息,任务流状态变更回调将返回该字段值,最长 1000 个字符。 */ public void setSessionContext(String SessionContext) { this.SessionContext = SessionContext; } public ComposeMediaTask() { } /** * 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 ComposeMediaTask(ComposeMediaTask 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.Progress != null) { this.Progress = new Long(source.Progress); } if (source.Input != null) { this.Input = new ComposeMediaTaskInput(source.Input); } if (source.Output != null) { this.Output = new ComposeMediaTaskOutput(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 + "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