100 lines
3.1 KiB
C#
100 lines
3.1 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.Redis.V20180412.Models
|
||
{
|
||
using Newtonsoft.Json;
|
||
using System.Collections.Generic;
|
||
using TencentCloud.Common;
|
||
|
||
public class InstanceIntegerParam : AbstractModel
|
||
{
|
||
|
||
/// <summary>
|
||
/// 参数名
|
||
/// </summary>
|
||
[JsonProperty("ParamName")]
|
||
public string ParamName{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 参数类型:integer
|
||
/// </summary>
|
||
[JsonProperty("ValueType")]
|
||
public string ValueType{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 修改后是否需要重启:true,false
|
||
/// </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("Min")]
|
||
public string Min{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 参数最大值
|
||
/// </summary>
|
||
[JsonProperty("Max")]
|
||
public string Max{ 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.SetParamSimple(map, prefix + "Min", this.Min);
|
||
this.SetParamSimple(map, prefix + "Max", this.Max);
|
||
this.SetParamSimple(map, prefix + "Status", this.Status);
|
||
}
|
||
}
|
||
}
|
||
|