/*
* 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.Ssm.V20190923.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class ListSecretsRequest : AbstractModel
{
///
/// 查询列表的起始位置,以0开始,不设置默认为0。
///
[JsonProperty("Offset")]
public ulong? Offset{ get; set; }
///
/// 单次查询返回的最大数量,0或不设置则使用默认值 20。
///
[JsonProperty("Limit")]
public ulong? Limit{ get; set; }
///
/// 根据创建时间的排序方式,0或者不设置则使用降序排序, 1 表示升序排序。
///
[JsonProperty("OrderType")]
public ulong? OrderType{ get; set; }
///
/// 根据凭据状态进行过滤,默认为0表示查询全部,1 表示查询Enabed 凭据列表,2表示查询Disabled 凭据列表, 3 表示查询PendingDelete 凭据列表。
///
[JsonProperty("State")]
public ulong? State{ get; set; }
///
/// 根据凭据名称进行过滤,为空表示不过滤。
///
[JsonProperty("SearchSecretName")]
public string SearchSecretName{ get; set; }
///
/// For internal usage only. DO NOT USE IT.
///
internal override void ToMap(Dictionary map, string prefix)
{
this.SetParamSimple(map, prefix + "Offset", this.Offset);
this.SetParamSimple(map, prefix + "Limit", this.Limit);
this.SetParamSimple(map, prefix + "OrderType", this.OrderType);
this.SetParamSimple(map, prefix + "State", this.State);
this.SetParamSimple(map, prefix + "SearchSecretName", this.SearchSecretName);
}
}
}