/* * 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.Redis.V20180412.Models { using Newtonsoft.Json; using System.Collections.Generic; using TencentCloud.Common; public class InstanceEnumParam : AbstractModel { /// /// 参数名 /// [JsonProperty("ParamName")] public string ParamName{ get; set; } /// /// 参数类型:enum /// [JsonProperty("ValueType")] public string ValueType{ get; set; } /// /// 修改后是否需要重启:true,false /// [JsonProperty("NeedRestart")] public string NeedRestart{ get; set; } /// /// 参数默认值 /// [JsonProperty("DefaultValue")] public string DefaultValue{ get; set; } /// /// 当前运行参数值 /// [JsonProperty("CurrentValue")] public string CurrentValue{ get; set; } /// /// 参数说明 /// [JsonProperty("Tips")] public string Tips{ get; set; } /// /// 参数可取值 /// [JsonProperty("EnumValue")] public string[] EnumValue{ get; set; } /// /// 参数状态, 1: 修改中, 2:修改完成 /// [JsonProperty("Status")] public long? Status{ get; set; } /// /// For internal usage only. DO NOT USE IT. /// internal override void ToMap(Dictionary map, string prefix) { this.SetParamSimple(map, prefix + "ParamName", this.ParamName); this.SetParamSimple(map, prefix + "ValueType", this.ValueType); this.SetParamSimple(map, prefix + "NeedRestart", this.NeedRestart); this.SetParamSimple(map, prefix + "DefaultValue", this.DefaultValue); this.SetParamSimple(map, prefix + "CurrentValue", this.CurrentValue); this.SetParamSimple(map, prefix + "Tips", this.Tips); this.SetParamArraySimple(map, prefix + "EnumValue.", this.EnumValue); this.SetParamSimple(map, prefix + "Status", this.Status); } } }