/* * 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.Cloudhsm.V20191112.Models { using Newtonsoft.Json; using System.Collections.Generic; using TencentCloud.Common; public class InquiryPriceBuyVsmRequest : AbstractModel { /// /// 需购买实例的数量 /// [JsonProperty("GoodsNum")] public long? GoodsNum{ get; set; } /// /// 付费模式:0表示按需计费/后付费,1表示预付费 /// [JsonProperty("PayMode")] public long? PayMode{ get; set; } /// /// 商品的时间大小 /// [JsonProperty("TimeSpan")] public string TimeSpan{ get; set; } /// /// 商品的时间单位 /// [JsonProperty("TimeUnit")] public string TimeUnit{ get; set; } /// /// 货币类型,默认为CNY /// [JsonProperty("Currency")] public string Currency{ get; set; } /// /// 默认为CREATE,可选RENEW /// [JsonProperty("Type")] public string Type{ get; set; } /// /// For internal usage only. DO NOT USE IT. /// internal override void ToMap(Dictionary map, string prefix) { this.SetParamSimple(map, prefix + "GoodsNum", this.GoodsNum); this.SetParamSimple(map, prefix + "PayMode", this.PayMode); this.SetParamSimple(map, prefix + "TimeSpan", this.TimeSpan); this.SetParamSimple(map, prefix + "TimeUnit", this.TimeUnit); this.SetParamSimple(map, prefix + "Currency", this.Currency); this.SetParamSimple(map, prefix + "Type", this.Type); } } }