Files
g.hnyhua.cn/TencentCloud/Vod/V20180717/Models/DescribeTaskDetailResponse.cs
2026-02-07 15:48:27 +08:00

183 lines
8.1 KiB
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/*
* Copyright (c) 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.
*/
namespace TencentCloud.Vod.V20180717.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeTaskDetailResponse : AbstractModel
{
/// <summary>
/// 任务类型,取值:
/// <li>Procedure视频处理任务</li>
/// <li>EditMedia视频编辑任务</li>
/// <li>WechatPublish微信发布任务</li>
/// <li>WechatMiniProgramPublish微信小程序视频发布任务</li>
/// <li>ComposeMedia制作媒体文件任务</li>
/// <li>PullUpload拉取上传媒体文件任务。</li>
///
/// 兼容 2017 版的任务类型:
/// <li>Transcode视频转码任务</li>
/// <li>SnapshotByTimeOffset视频截图任务</li>
/// <li>Concat视频拼接任务</li>
/// <li>Clip视频剪辑任务</li>
/// <li>ImageSprites截取雪碧图任务。</li>
/// </summary>
[JsonProperty("TaskType")]
public string TaskType{ get; set; }
/// <summary>
/// 任务状态,取值:
/// <li>WAITING等待中</li>
/// <li>PROCESSING处理中</li>
/// <li>FINISH已完成。</li>
/// </summary>
[JsonProperty("Status")]
public string Status{ get; set; }
/// <summary>
/// 任务的创建时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
/// </summary>
[JsonProperty("CreateTime")]
public string CreateTime{ get; set; }
/// <summary>
/// 任务开始执行的时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
/// </summary>
[JsonProperty("BeginProcessTime")]
public string BeginProcessTime{ get; set; }
/// <summary>
/// 任务执行完毕的时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
/// </summary>
[JsonProperty("FinishTime")]
public string FinishTime{ get; set; }
/// <summary>
/// 视频处理任务信息,仅当 TaskType 为 Procedure该字段有值。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("ProcedureTask")]
public ProcedureTask ProcedureTask{ get; set; }
/// <summary>
/// 视频编辑任务信息,仅当 TaskType 为 EditMedia该字段有值。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("EditMediaTask")]
public EditMediaTask EditMediaTask{ get; set; }
/// <summary>
/// 微信发布任务信息,仅当 TaskType 为 WechatPublish该字段有值。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("WechatPublishTask")]
public WechatPublishTask WechatPublishTask{ get; set; }
/// <summary>
/// 制作媒体文件任务信息,仅当 TaskType 为 ComposeMedia该字段有值。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("ComposeMediaTask")]
public ComposeMediaTask ComposeMediaTask{ get; set; }
/// <summary>
/// 拉取上传媒体文件任务信息,仅当 TaskType 为 PullUpload该字段有值。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("PullUploadTask")]
public PullUploadTask PullUploadTask{ get; set; }
/// <summary>
/// 视频转码任务信息,仅当 TaskType 为 Transcode该字段有值。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("TranscodeTask")]
public TranscodeTask2017 TranscodeTask{ get; set; }
/// <summary>
/// 视频指定时间点截图任务信息,仅当 TaskType 为 SnapshotByTimeOffset该字段有值。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("SnapshotByTimeOffsetTask")]
public SnapshotByTimeOffsetTask2017 SnapshotByTimeOffsetTask{ get; set; }
/// <summary>
/// 视频拼接任务信息,仅当 TaskType 为 Concat该字段有值。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("ConcatTask")]
public ConcatTask2017 ConcatTask{ get; set; }
/// <summary>
/// 视频剪辑任务信息,仅当 TaskType 为 Clip该字段有值。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("ClipTask")]
public ClipTask2017 ClipTask{ get; set; }
/// <summary>
/// 截取雪碧图任务信息,仅当 TaskType 为 ImageSprite该字段有值。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("CreateImageSpriteTask")]
public CreateImageSpriteTask2017 CreateImageSpriteTask{ get; set; }
/// <summary>
/// 微信小程序发布任务信息,仅当 TaskType 为 WechatMiniProgramPublish该字段有值。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("WechatMiniProgramPublishTask")]
public WechatMiniProgramPublishTask WechatMiniProgramPublishTask{ get; set; }
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "TaskType", this.TaskType);
this.SetParamSimple(map, prefix + "Status", this.Status);
this.SetParamSimple(map, prefix + "CreateTime", this.CreateTime);
this.SetParamSimple(map, prefix + "BeginProcessTime", this.BeginProcessTime);
this.SetParamSimple(map, prefix + "FinishTime", this.FinishTime);
this.SetParamObj(map, prefix + "ProcedureTask.", this.ProcedureTask);
this.SetParamObj(map, prefix + "EditMediaTask.", this.EditMediaTask);
this.SetParamObj(map, prefix + "WechatPublishTask.", this.WechatPublishTask);
this.SetParamObj(map, prefix + "ComposeMediaTask.", this.ComposeMediaTask);
this.SetParamObj(map, prefix + "PullUploadTask.", this.PullUploadTask);
this.SetParamObj(map, prefix + "TranscodeTask.", this.TranscodeTask);
this.SetParamObj(map, prefix + "SnapshotByTimeOffsetTask.", this.SnapshotByTimeOffsetTask);
this.SetParamObj(map, prefix + "ConcatTask.", this.ConcatTask);
this.SetParamObj(map, prefix + "ClipTask.", this.ClipTask);
this.SetParamObj(map, prefix + "CreateImageSpriteTask.", this.CreateImageSpriteTask);
this.SetParamObj(map, prefix + "WechatMiniProgramPublishTask.", this.WechatMiniProgramPublishTask);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}