96 lines
3.2 KiB
C#
96 lines
3.2 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.Scf.V20180416.Models
|
|||
|
|
{
|
|||
|
|
using Newtonsoft.Json;
|
|||
|
|
using System.Collections.Generic;
|
|||
|
|
using TencentCloud.Common;
|
|||
|
|
|
|||
|
|
public class ListFunctionsRequest : AbstractModel
|
|||
|
|
{
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 以升序还是降序的方式返回结果,可选值 ASC 和 DESC
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("Order")]
|
|||
|
|
public string Order{ get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 根据哪个字段进行返回结果排序,支持以下字段:AddTime, ModTime, FunctionName
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("Orderby")]
|
|||
|
|
public string Orderby{ get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 数据偏移量,默认值为 0
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("Offset")]
|
|||
|
|
public long? Offset{ get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 返回数据长度,默认值为 20
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("Limit")]
|
|||
|
|
public long? Limit{ get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 支持FunctionName模糊匹配
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("SearchKey")]
|
|||
|
|
public string SearchKey{ get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 命名空间
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("Namespace")]
|
|||
|
|
public string Namespace{ get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 函数描述,支持模糊搜索
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("Description")]
|
|||
|
|
public string Description{ get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 过滤条件。
|
|||
|
|
/// - tag:tag-key - String - 是否必填:否 - (过滤条件)按照标签键值对进行过滤。 tag-key使用具体的标签键进行替换。
|
|||
|
|
///
|
|||
|
|
/// 每次请求的Filters的上限为10,Filter.Values的上限为5。
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("Filters")]
|
|||
|
|
public Filter[] Filters{ 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 + "Order", this.Order);
|
|||
|
|
this.SetParamSimple(map, prefix + "Orderby", this.Orderby);
|
|||
|
|
this.SetParamSimple(map, prefix + "Offset", this.Offset);
|
|||
|
|
this.SetParamSimple(map, prefix + "Limit", this.Limit);
|
|||
|
|
this.SetParamSimple(map, prefix + "SearchKey", this.SearchKey);
|
|||
|
|
this.SetParamSimple(map, prefix + "Namespace", this.Namespace);
|
|||
|
|
this.SetParamSimple(map, prefix + "Description", this.Description);
|
|||
|
|
this.SetParamArrayObj(map, prefix + "Filters.", this.Filters);
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
|