/* * 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.Cme.V20191029.Models { using Newtonsoft.Json; using System.Collections.Generic; using TencentCloud.Common; public class MaterialBasicInfo : AbstractModel { /// /// 素材 Id。 /// [JsonProperty("MaterialId")] public string MaterialId{ get; set; } /// /// 素材类型,取值为:音频(AUDIO)、视频(VIDEO)、图片(IMAGE)、链接(LINK)、字幕 (SUBTITLE)、转场(TRANSITION)、滤镜(FILTER)、文本文字(TEXT)、图文动效(TEXT_IMAGE)。 /// [JsonProperty("MaterialType")] public string MaterialType{ get; set; } /// /// 素材归属实体。 /// [JsonProperty("Owner")] public Entity Owner{ get; set; } /// /// 素材名称。 /// [JsonProperty("Name")] public string Name{ get; set; } /// /// 素材文件的创建时间,使用 ISO 日期格式。 /// [JsonProperty("CreateTime")] public string CreateTime{ get; set; } /// /// 素材文件的最近更新时间(如修改视频属性、发起视频处理等会触发更新媒体文件信息的操作),使用 ISO 日期格式。 /// [JsonProperty("UpdateTime")] public string UpdateTime{ get; set; } /// /// 素材的分类目录路径。 /// [JsonProperty("ClassPath")] public string ClassPath{ get; set; } /// /// 素材标签信息。 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("TagSet")] public string[] TagSet{ get; set; } /// /// 素材媒体文件的预览图。 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("PreviewUrl")] public string PreviewUrl{ get; set; } /// /// For internal usage only. DO NOT USE IT. /// internal override void ToMap(Dictionary map, string prefix) { this.SetParamSimple(map, prefix + "MaterialId", this.MaterialId); this.SetParamSimple(map, prefix + "MaterialType", this.MaterialType); this.SetParamObj(map, prefix + "Owner.", this.Owner); this.SetParamSimple(map, prefix + "Name", this.Name); this.SetParamSimple(map, prefix + "CreateTime", this.CreateTime); this.SetParamSimple(map, prefix + "UpdateTime", this.UpdateTime); this.SetParamSimple(map, prefix + "ClassPath", this.ClassPath); this.SetParamArraySimple(map, prefix + "TagSet.", this.TagSet); this.SetParamSimple(map, prefix + "PreviewUrl", this.PreviewUrl); } } }