首次推送
This commit is contained in:
99
TencentCloud/Cdb/V20170320/Models/ParameterDetail.cs
Normal file
99
TencentCloud/Cdb/V20170320/Models/ParameterDetail.cs
Normal file
@@ -0,0 +1,99 @@
|
||||
/*
|
||||
* 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.Cdb.V20170320.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class ParameterDetail : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 参数名称
|
||||
/// </summary>
|
||||
[JsonProperty("Name")]
|
||||
public string Name{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 参数类型
|
||||
/// </summary>
|
||||
[JsonProperty("ParamType")]
|
||||
public string ParamType{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 参数默认值
|
||||
/// </summary>
|
||||
[JsonProperty("Default")]
|
||||
public string Default{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 参数描述
|
||||
/// </summary>
|
||||
[JsonProperty("Description")]
|
||||
public string Description{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 参数当前值
|
||||
/// </summary>
|
||||
[JsonProperty("CurrentValue")]
|
||||
public string CurrentValue{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 修改参数后,是否需要重启数据库以使参数生效。可能的值包括:0-不需要重启;1-需要重启
|
||||
/// </summary>
|
||||
[JsonProperty("NeedReboot")]
|
||||
public long? NeedReboot{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 参数允许的最大值
|
||||
/// </summary>
|
||||
[JsonProperty("Max")]
|
||||
public long? Max{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 参数允许的最小值
|
||||
/// </summary>
|
||||
[JsonProperty("Min")]
|
||||
public long? Min{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 参数的可选枚举值。如果为非枚举参数,则为空
|
||||
/// </summary>
|
||||
[JsonProperty("EnumValue")]
|
||||
public string[] EnumValue{ 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 + "Name", this.Name);
|
||||
this.SetParamSimple(map, prefix + "ParamType", this.ParamType);
|
||||
this.SetParamSimple(map, prefix + "Default", this.Default);
|
||||
this.SetParamSimple(map, prefix + "Description", this.Description);
|
||||
this.SetParamSimple(map, prefix + "CurrentValue", this.CurrentValue);
|
||||
this.SetParamSimple(map, prefix + "NeedReboot", this.NeedReboot);
|
||||
this.SetParamSimple(map, prefix + "Max", this.Max);
|
||||
this.SetParamSimple(map, prefix + "Min", this.Min);
|
||||
this.SetParamArraySimple(map, prefix + "EnumValue.", this.EnumValue);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user