/* * 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.Scf.V20180416.Models { using Newtonsoft.Json; using System.Collections.Generic; using TencentCloud.Common; public class Trigger : AbstractModel { /// /// 触发器最后修改时间 /// [JsonProperty("ModTime")] public string ModTime{ get; set; } /// /// 触发器类型 /// [JsonProperty("Type")] public string Type{ get; set; } /// /// 触发器详细配置 /// [JsonProperty("TriggerDesc")] public string TriggerDesc{ get; set; } /// /// 触发器名称 /// [JsonProperty("TriggerName")] public string TriggerName{ get; set; } /// /// 触发器创建时间 /// [JsonProperty("AddTime")] public string AddTime{ get; set; } /// /// 使能开关 /// [JsonProperty("Enable")] public long? Enable{ get; set; } /// /// 客户自定义参数 /// [JsonProperty("CustomArgument")] public string CustomArgument{ get; set; } /// /// 触发器状态 /// [JsonProperty("AvailableStatus")] public string AvailableStatus{ get; set; } /// /// For internal usage only. DO NOT USE IT. /// internal override void ToMap(Dictionary map, string prefix) { this.SetParamSimple(map, prefix + "ModTime", this.ModTime); this.SetParamSimple(map, prefix + "Type", this.Type); this.SetParamSimple(map, prefix + "TriggerDesc", this.TriggerDesc); this.SetParamSimple(map, prefix + "TriggerName", this.TriggerName); this.SetParamSimple(map, prefix + "AddTime", this.AddTime); this.SetParamSimple(map, prefix + "Enable", this.Enable); this.SetParamSimple(map, prefix + "CustomArgument", this.CustomArgument); this.SetParamSimple(map, prefix + "AvailableStatus", this.AvailableStatus); } } }