/* * 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.Tsf.V20180326.Models { using Newtonsoft.Json; using System.Collections.Generic; using TencentCloud.Common; public class DescribePkgsRequest : AbstractModel { /// /// 应用ID(只传入应用ID,返回该应用下所有软件包信息) /// [JsonProperty("ApplicationId")] public string ApplicationId{ get; set; } /// /// 查询关键字(支持根据包ID,包名,包版本号搜索) /// [JsonProperty("SearchWord")] public string SearchWord{ get; set; } /// /// 排序关键字(默认为"UploadTime":上传时间) /// [JsonProperty("OrderBy")] public string OrderBy{ get; set; } /// /// 升序:0/降序:1(默认降序) /// [JsonProperty("OrderType")] public ulong? OrderType{ get; set; } /// /// 查询起始偏移 /// [JsonProperty("Offset")] public ulong? Offset{ get; set; } /// /// 返回数量限制 /// [JsonProperty("Limit")] public ulong? Limit{ get; set; } /// /// For internal usage only. DO NOT USE IT. /// internal override void ToMap(Dictionary map, string prefix) { this.SetParamSimple(map, prefix + "ApplicationId", this.ApplicationId); this.SetParamSimple(map, prefix + "SearchWord", this.SearchWord); this.SetParamSimple(map, prefix + "OrderBy", this.OrderBy); this.SetParamSimple(map, prefix + "OrderType", this.OrderType); this.SetParamSimple(map, prefix + "Offset", this.Offset); this.SetParamSimple(map, prefix + "Limit", this.Limit); } } }