Files
2026-02-07 15:48:27 +08:00

93 lines
2.9 KiB
C#

/*
* 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
{
/// <summary>
/// 触发器最后修改时间
/// </summary>
[JsonProperty("ModTime")]
public string ModTime{ get; set; }
/// <summary>
/// 触发器类型
/// </summary>
[JsonProperty("Type")]
public string Type{ get; set; }
/// <summary>
/// 触发器详细配置
/// </summary>
[JsonProperty("TriggerDesc")]
public string TriggerDesc{ get; set; }
/// <summary>
/// 触发器名称
/// </summary>
[JsonProperty("TriggerName")]
public string TriggerName{ get; set; }
/// <summary>
/// 触发器创建时间
/// </summary>
[JsonProperty("AddTime")]
public string AddTime{ get; set; }
/// <summary>
/// 使能开关
/// </summary>
[JsonProperty("Enable")]
public long? Enable{ get; set; }
/// <summary>
/// 客户自定义参数
/// </summary>
[JsonProperty("CustomArgument")]
public string CustomArgument{ get; set; }
/// <summary>
/// 触发器状态
/// </summary>
[JsonProperty("AvailableStatus")]
public string AvailableStatus{ 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 + "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);
}
}
}