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

com.tencentcloudapi.vod.v20180717.models.SplitMediaTask 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.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 SplitMediaTask extends AbstractModel{

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

    /**
    * 任务流状态,取值:
  • PROCESSING:处理中;
  • FINISH:已完成。
  • */ @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; /** * 视频拆条任务详细信息列表。 */ @SerializedName("FileInfoSet") @Expose private SplitMediaTaskSegmentInfo [] FileInfoSet; /** * 来源上下文,用于透传用户请求信息,任务流状态变更回调将返回该字段值,最长 1000 个字符。 */ @SerializedName("SessionContext") @Expose private String SessionContext; /** * 用于去重的识别码,如果七天内曾有过相同的识别码的请求,则本次的请求会返回错误。最长 50 个字符,不带或者带空字符串表示不做去重。 */ @SerializedName("SessionId") @Expose private String SessionId; /** * 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 错误码,空字符串表示成功,其他值表示失败,取值请参考 [视频处理类错误码](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 视频拆条任务详细信息列表。 * @return FileInfoSet 视频拆条任务详细信息列表。 */ public SplitMediaTaskSegmentInfo [] getFileInfoSet() { return this.FileInfoSet; } /** * Set 视频拆条任务详细信息列表。 * @param FileInfoSet 视频拆条任务详细信息列表。 */ public void setFileInfoSet(SplitMediaTaskSegmentInfo [] FileInfoSet) { this.FileInfoSet = FileInfoSet; } /** * Get 来源上下文,用于透传用户请求信息,任务流状态变更回调将返回该字段值,最长 1000 个字符。 * @return SessionContext 来源上下文,用于透传用户请求信息,任务流状态变更回调将返回该字段值,最长 1000 个字符。 */ public String getSessionContext() { return this.SessionContext; } /** * Set 来源上下文,用于透传用户请求信息,任务流状态变更回调将返回该字段值,最长 1000 个字符。 * @param SessionContext 来源上下文,用于透传用户请求信息,任务流状态变更回调将返回该字段值,最长 1000 个字符。 */ public void setSessionContext(String SessionContext) { this.SessionContext = SessionContext; } /** * Get 用于去重的识别码,如果七天内曾有过相同的识别码的请求,则本次的请求会返回错误。最长 50 个字符,不带或者带空字符串表示不做去重。 * @return SessionId 用于去重的识别码,如果七天内曾有过相同的识别码的请求,则本次的请求会返回错误。最长 50 个字符,不带或者带空字符串表示不做去重。 */ public String getSessionId() { return this.SessionId; } /** * Set 用于去重的识别码,如果七天内曾有过相同的识别码的请求,则本次的请求会返回错误。最长 50 个字符,不带或者带空字符串表示不做去重。 * @param SessionId 用于去重的识别码,如果七天内曾有过相同的识别码的请求,则本次的请求会返回错误。最长 50 个字符,不带或者带空字符串表示不做去重。 */ public void setSessionId(String SessionId) { this.SessionId = SessionId; } public SplitMediaTask() { } /** * 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 SplitMediaTask(SplitMediaTask source) { if (source.TaskId != null) { this.TaskId = new String(source.TaskId); } 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.FileInfoSet != null) { this.FileInfoSet = new SplitMediaTaskSegmentInfo[source.FileInfoSet.length]; for (int i = 0; i < source.FileInfoSet.length; i++) { this.FileInfoSet[i] = new SplitMediaTaskSegmentInfo(source.FileInfoSet[i]); } } if (source.SessionContext != null) { this.SessionContext = new String(source.SessionContext); } if (source.SessionId != null) { this.SessionId = new String(source.SessionId); } } /** * 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 + "ErrCodeExt", this.ErrCodeExt); this.setParamSimple(map, prefix + "ErrCode", this.ErrCode); this.setParamSimple(map, prefix + "Message", this.Message); this.setParamArrayObj(map, prefix + "FileInfoSet.", this.FileInfoSet); this.setParamSimple(map, prefix + "SessionContext", this.SessionContext); this.setParamSimple(map, prefix + "SessionId", this.SessionId); } }




    © 2015 - 2024 Weber Informatics LLC | Privacy Policy