/* * 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 MediaInfo : AbstractModel { /// /// 基础信息。包括视频名称、分类、播放地址、封面图片等。 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("BasicInfo")] public MediaBasicInfo BasicInfo{ get; set; } /// /// 元信息。包括大小、时长、视频流信息、音频流信息等。 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("MetaData")] public MediaMetaData MetaData{ get; set; } /// /// 转码结果信息。包括该视频转码生成的各种码率的视频的地址、规格、码率、分辨率等。 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("TranscodeInfo")] public MediaTranscodeInfo TranscodeInfo{ get; set; } /// /// 转动图结果信息。对视频转动图(如 gif)后,动图相关信息。 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("AnimatedGraphicsInfo")] public MediaAnimatedGraphicsInfo AnimatedGraphicsInfo{ get; set; } /// /// 采样截图信息。对视频采样截图后,相关截图信息。 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("SampleSnapshotInfo")] public MediaSampleSnapshotInfo SampleSnapshotInfo{ get; set; } /// /// 雪碧图信息。对视频截取雪碧图之后,雪碧的相关信息。 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("ImageSpriteInfo")] public MediaImageSpriteInfo ImageSpriteInfo{ get; set; } /// /// 指定时间点截图信息。对视频依照指定时间点截图后,各个截图的信息。 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("SnapshotByTimeOffsetInfo")] public MediaSnapshotByTimeOffsetInfo SnapshotByTimeOffsetInfo{ get; set; } /// /// 视频打点信息。对视频设置的各个打点信息。 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("KeyFrameDescInfo")] public MediaKeyFrameDescInfo KeyFrameDescInfo{ get; set; } /// /// 转自适应码流信息。包括规格、加密类型、打包格式等相关信息。 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("AdaptiveDynamicStreamingInfo")] public MediaAdaptiveDynamicStreamingInfo AdaptiveDynamicStreamingInfo{ get; set; } /// /// 小程序审核信息。 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("MiniProgramReviewInfo")] public MediaMiniProgramReviewInfo MiniProgramReviewInfo{ get; set; } /// /// 媒体文件唯一标识 ID。 /// [JsonProperty("FileId")] public string FileId{ get; set; } /// /// For internal usage only. DO NOT USE IT. /// internal override void ToMap(Dictionary map, string prefix) { this.SetParamObj(map, prefix + "BasicInfo.", this.BasicInfo); this.SetParamObj(map, prefix + "MetaData.", this.MetaData); this.SetParamObj(map, prefix + "TranscodeInfo.", this.TranscodeInfo); this.SetParamObj(map, prefix + "AnimatedGraphicsInfo.", this.AnimatedGraphicsInfo); this.SetParamObj(map, prefix + "SampleSnapshotInfo.", this.SampleSnapshotInfo); this.SetParamObj(map, prefix + "ImageSpriteInfo.", this.ImageSpriteInfo); this.SetParamObj(map, prefix + "SnapshotByTimeOffsetInfo.", this.SnapshotByTimeOffsetInfo); this.SetParamObj(map, prefix + "KeyFrameDescInfo.", this.KeyFrameDescInfo); this.SetParamObj(map, prefix + "AdaptiveDynamicStreamingInfo.", this.AdaptiveDynamicStreamingInfo); this.SetParamObj(map, prefix + "MiniProgramReviewInfo.", this.MiniProgramReviewInfo); this.SetParamSimple(map, prefix + "FileId", this.FileId); } } }