Files
g.hnyhua.cn/TencentCloud/Cme/V20191029/Models/MaterialBasicInfo.cs

102 lines
3.6 KiB
C#
Raw Normal View History

/*
* 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
{
/// <summary>
/// 素材 Id。
/// </summary>
[JsonProperty("MaterialId")]
public string MaterialId{ get; set; }
/// <summary>
/// 素材类型取值为音频AUDIO、视频VIDEO、图片IMAGE、链接LINK、字幕 SUBTITLE、转场TRANSITION、滤镜FILTER、文本文字TEXT、图文动效TEXT_IMAGE
/// </summary>
[JsonProperty("MaterialType")]
public string MaterialType{ get; set; }
/// <summary>
/// 素材归属实体。
/// </summary>
[JsonProperty("Owner")]
public Entity Owner{ get; set; }
/// <summary>
/// 素材名称。
/// </summary>
[JsonProperty("Name")]
public string Name{ get; set; }
/// <summary>
/// 素材文件的创建时间,使用 ISO 日期格式。
/// </summary>
[JsonProperty("CreateTime")]
public string CreateTime{ get; set; }
/// <summary>
/// 素材文件的最近更新时间(如修改视频属性、发起视频处理等会触发更新媒体文件信息的操作),使用 ISO 日期格式。
/// </summary>
[JsonProperty("UpdateTime")]
public string UpdateTime{ get; set; }
/// <summary>
/// 素材的分类目录路径。
/// </summary>
[JsonProperty("ClassPath")]
public string ClassPath{ get; set; }
/// <summary>
/// 素材标签信息。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("TagSet")]
public string[] TagSet{ get; set; }
/// <summary>
/// 素材媒体文件的预览图。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("PreviewUrl")]
public string PreviewUrl{ 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 + "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);
}
}
}