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