Show / Hide Table of Contents

Class V1ListMeta

ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}.

Inheritance
object
V1ListMeta
Implements
IEquatable<V1ListMeta>
Inherited Members
object.GetType()
object.MemberwiseClone()
object.Equals(object, object)
object.ReferenceEquals(object, object)
Namespace: k8s.Models
Assembly: KubernetesClient.dll
Syntax
public record V1ListMeta : IEquatable<V1ListMeta>

Constructors

V1ListMeta()

Declaration
public V1ListMeta()

V1ListMeta(V1ListMeta)

Declaration
protected V1ListMeta(V1ListMeta original)
Parameters
Type Name Description
V1ListMeta original

Properties

ContinueProperty

continue may be set if the user set a limit on the number of items returned, and indicates that the server has more data available. The value is opaque and may be used to issue another request to the endpoint that served this list to retrieve the next set of available objects. Continuing a consistent list may not be possible if the server configuration has changed or more than a few minutes have passed. The resourceVersion field returned when using this continue value will be identical to the value in the first response, unless you have received this token from an error message.

Declaration
[JsonPropertyName("continue")]
public string ContinueProperty { get; set; }
Property Value
Type Description
string

EqualityContract

Declaration
protected virtual Type EqualityContract { get; }
Property Value
Type Description
Type

RemainingItemCount

remainingItemCount is the number of subsequent items in the list which are not included in this list response. If the list request contained label or field selectors, then the number of remaining items is unknown and the field will be left unset and omitted during serialization. If the list is complete (either because it is not chunking or because this is the last chunk), then there are no more remaining items and this field will be left unset and omitted during serialization. Servers older than v1.15 do not set this field. The intended use of the remainingItemCount is estimating the size of a collection. Clients should not rely on the remainingItemCount to be set or to be exact.

Declaration
[JsonPropertyName("remainingItemCount")]
public long? RemainingItemCount { get; set; }
Property Value
Type Description
long?

ResourceVersion

String that identifies the server's internal version of this object that can be used by clients to determine when objects have changed. Value must be treated as opaque by clients and passed unmodified back to the server. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency

Declaration
[JsonPropertyName("resourceVersion")]
public string ResourceVersion { get; set; }
Property Value
Type Description
string

SelfLink

Deprecated: selfLink is a legacy read-only field that is no longer populated by the system.

Declaration
[JsonPropertyName("selfLink")]
public string SelfLink { get; set; }
Property Value
Type Description
string

ShardInfo

shardInfo is set when the list is a filtered subset of the full collection, as selected by a shard selector on the request. It echoes back the selector so clients can verify which shard they received and merge sharded responses. Clients should not cache sharded list responses as a full representation of the collection.

This is an alpha field and requires enabling the ShardedListAndWatch feature gate.

Declaration
[JsonPropertyName("shardInfo")]
public V1ShardInfo ShardInfo { get; set; }
Property Value
Type Description
V1ShardInfo

Methods

Equals(object?)

Declaration
public override bool Equals(object? obj)
Parameters
Type Name Description
object obj
Returns
Type Description
bool
Overrides
object.Equals(object)

Equals(V1ListMeta?)

Declaration
public virtual bool Equals(V1ListMeta? other)
Parameters
Type Name Description
V1ListMeta other
Returns
Type Description
bool

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
int
Overrides
object.GetHashCode()

PrintMembers(StringBuilder)

Declaration
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
Type Name Description
StringBuilder builder
Returns
Type Description
bool

ToString()

Declaration
public override string ToString()
Returns
Type Description
string
Overrides
object.ToString()

Operators

operator ==(V1ListMeta?, V1ListMeta?)

Declaration
public static bool operator ==(V1ListMeta? left, V1ListMeta? right)
Parameters
Type Name Description
V1ListMeta left
V1ListMeta right
Returns
Type Description
bool

operator !=(V1ListMeta?, V1ListMeta?)

Declaration
public static bool operator !=(V1ListMeta? left, V1ListMeta? right)
Parameters
Type Name Description
V1ListMeta left
V1ListMeta right
Returns
Type Description
bool

Implements

IEquatable<T>
In this article
Back to top Generated by DocFX