/* * 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.Cds.V20180420.Models { using Newtonsoft.Json; using System.Collections.Generic; using TencentCloud.Common; public class InquiryPriceDbauditInstanceRequest : AbstractModel { /// /// 实例规格,取值范围: cdsaudit,cdsaudit_adv, cdsaudit_ent 分别为合规版,高级版,企业版 /// [JsonProperty("InstanceVersion")] public string InstanceVersion{ get; set; } /// /// 询价类型: renew,续费;newbuy,新购 /// [JsonProperty("InquiryType")] public string InquiryType{ get; set; } /// /// 购买实例的时长。取值范围:1(y/m),2(y/m),,3(y/m),4(m), 5(m),6(m), 7(m),8(m),9(m), 10(m) /// [JsonProperty("TimeSpan")] public ulong? TimeSpan{ get; set; } /// /// 购买时长单位,y:年;m:月 /// [JsonProperty("TimeUnit")] public string TimeUnit{ get; set; } /// /// 实例所在地域 /// [JsonProperty("ServiceRegion")] public string ServiceRegion{ get; set; } /// /// For internal usage only. DO NOT USE IT. /// internal override void ToMap(Dictionary map, string prefix) { this.SetParamSimple(map, prefix + "InstanceVersion", this.InstanceVersion); this.SetParamSimple(map, prefix + "InquiryType", this.InquiryType); this.SetParamSimple(map, prefix + "TimeSpan", this.TimeSpan); this.SetParamSimple(map, prefix + "TimeUnit", this.TimeUnit); this.SetParamSimple(map, prefix + "ServiceRegion", this.ServiceRegion); } } }