109 lines
3.5 KiB
C#
109 lines
3.5 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.Batch.V20170312.Models
|
|||
|
|
{
|
|||
|
|
using Newtonsoft.Json;
|
|||
|
|
using System.Collections.Generic;
|
|||
|
|
using TencentCloud.Common;
|
|||
|
|
|
|||
|
|
public class Activity : AbstractModel
|
|||
|
|
{
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 活动ID
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("ActivityId")]
|
|||
|
|
public string ActivityId{ get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 计算节点ID
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("ComputeNodeId")]
|
|||
|
|
public string ComputeNodeId{ get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 计算节点活动类型,创建或者销毁
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("ComputeNodeActivityType")]
|
|||
|
|
public string ComputeNodeActivityType{ get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 计算环境ID
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("EnvId")]
|
|||
|
|
public string EnvId{ get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 起因
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("Cause")]
|
|||
|
|
public string Cause{ get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 活动状态
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("ActivityState")]
|
|||
|
|
public string ActivityState{ get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 状态原因
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("StateReason")]
|
|||
|
|
public string StateReason{ get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 活动开始时间
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("StartTime")]
|
|||
|
|
public string StartTime{ get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 活动结束时间
|
|||
|
|
/// 注意:此字段可能返回 null,表示取不到有效值。
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("EndTime")]
|
|||
|
|
public string EndTime{ get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 云服务器实例ID
|
|||
|
|
/// 注意:此字段可能返回 null,表示取不到有效值。
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("InstanceId")]
|
|||
|
|
public string InstanceId{ 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 + "ActivityId", this.ActivityId);
|
|||
|
|
this.SetParamSimple(map, prefix + "ComputeNodeId", this.ComputeNodeId);
|
|||
|
|
this.SetParamSimple(map, prefix + "ComputeNodeActivityType", this.ComputeNodeActivityType);
|
|||
|
|
this.SetParamSimple(map, prefix + "EnvId", this.EnvId);
|
|||
|
|
this.SetParamSimple(map, prefix + "Cause", this.Cause);
|
|||
|
|
this.SetParamSimple(map, prefix + "ActivityState", this.ActivityState);
|
|||
|
|
this.SetParamSimple(map, prefix + "StateReason", this.StateReason);
|
|||
|
|
this.SetParamSimple(map, prefix + "StartTime", this.StartTime);
|
|||
|
|
this.SetParamSimple(map, prefix + "EndTime", this.EndTime);
|
|||
|
|
this.SetParamSimple(map, prefix + "InstanceId", this.InstanceId);
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
|