/* * 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 MediaImageSpriteItem : AbstractModel { /// /// 雪碧图规格,参见[雪碧图参数模板](https://cloud.tencent.com/document/product/266/33480#.E9.9B.AA.E7.A2.A7.E5.9B.BE.E6.A8.A1.E6.9D.BF)。 /// [JsonProperty("Definition")] public long? Definition{ get; set; } /// /// 雪碧图小图的高度。 /// [JsonProperty("Height")] public long? Height{ get; set; } /// /// 雪碧图小图的宽度。 /// [JsonProperty("Width")] public long? Width{ get; set; } /// /// 每一张雪碧图大图里小图的数量。 /// [JsonProperty("TotalCount")] public long? TotalCount{ get; set; } /// /// 每一张雪碧图大图的地址。 /// [JsonProperty("ImageUrlSet")] public string[] ImageUrlSet{ get; set; } /// /// 雪碧图子图位置与时间关系的 WebVtt 文件地址。WebVtt 文件表明了各个雪碧图小图对应的时间点,以及在雪碧大图里的坐标位置,一般被播放器用于实现预览。 /// [JsonProperty("WebVttUrl")] public string WebVttUrl{ get; set; } /// /// For internal usage only. DO NOT USE IT. /// internal override void ToMap(Dictionary map, string prefix) { this.SetParamSimple(map, prefix + "Definition", this.Definition); this.SetParamSimple(map, prefix + "Height", this.Height); this.SetParamSimple(map, prefix + "Width", this.Width); this.SetParamSimple(map, prefix + "TotalCount", this.TotalCount); this.SetParamArraySimple(map, prefix + "ImageUrlSet.", this.ImageUrlSet); this.SetParamSimple(map, prefix + "WebVttUrl", this.WebVttUrl); } } }