Files
csharp/src/KubernetesClient/Util/Common/Generic/Options/ListOptions.cs
Boshi Lian eca9898902 API v1.23.0 + system.text.json + remove WatchXXX API (#750)
* gen v1.23.0

* fix converter

* bump ver

* update readme runtime

* fix warning

* update dep ver

* newtonjson -> system.text.json

* generate for new json api

* readme lf

* dotnet fmt

* dotnet fmt tests/

* dotnet fmt

* Revert "dotnet fmt"

This reverts commit e14c59076143fe2218ed899295a00762f0ea2bd6.

* fix err introduce by dotnet fmt

* fix test

* remove deprecated /watch api

* generate code after /watch removed

* remove /watch related code

* trim Microsoft.Rest.Serialization
2021-12-13 07:31:59 -08:00

29 lines
902 B
C#

namespace k8s.Util.Common.Generic.Options
{
public class ListOptions
{
public int? TimeoutSeconds { get; private set; }
public int Limit { get; private set; }
public string FieldSelector { get; private set; }
public string LabelSelector { get; private set; }
public string ResourceVersion { get; private set; }
public string Continue { get; private set; }
public ListOptions(int? timeoutSeconds = default, int limit = default, string fieldSelector = default, string labelSelector = default, string resourceVersion = default,
string @continue = default)
{
TimeoutSeconds = timeoutSeconds;
Limit = limit;
FieldSelector = fieldSelector;
LabelSelector = labelSelector;
ResourceVersion = resourceVersion;
Continue = @continue;
}
}
}