Files
g.hnyhua.cn/TencentCloud/Redis/V20180412/Models/InstanceEnumParam.cs
2026-02-07 15:48:27 +08:00

93 lines
2.9 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/*
* 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
{
/// <summary>
/// 参数名
/// </summary>
[JsonProperty("ParamName")]
public string ParamName{ get; set; }
/// <summary>
/// 参数类型enum
/// </summary>
[JsonProperty("ValueType")]
public string ValueType{ get; set; }
/// <summary>
/// 修改后是否需要重启truefalse
/// </summary>
[JsonProperty("NeedRestart")]
public string NeedRestart{ get; set; }
/// <summary>
/// 参数默认值
/// </summary>
[JsonProperty("DefaultValue")]
public string DefaultValue{ get; set; }
/// <summary>
/// 当前运行参数值
/// </summary>
[JsonProperty("CurrentValue")]
public string CurrentValue{ get; set; }
/// <summary>
/// 参数说明
/// </summary>
[JsonProperty("Tips")]
public string Tips{ get; set; }
/// <summary>
/// 参数可取值
/// </summary>
[JsonProperty("EnumValue")]
public string[] EnumValue{ get; set; }
/// <summary>
/// 参数状态, 1: 修改中, 2修改完成
/// </summary>
[JsonProperty("Status")]
public long? Status{ 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 + "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);
}
}
}