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}.
Assembly: KubernetesClient.dll
public record V1ListMeta : IEquatable<V1ListMeta>
Constructors
Declaration
Declaration
protected V1ListMeta(V1ListMeta original)
Parameters
Properties
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
Declaration
protected virtual Type EqualityContract { get; }
Property Value
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
Declaration
[JsonPropertyName("resourceVersion")]
public string ResourceVersion { get; set; }
Property Value
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
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
Methods
Declaration
public override bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
Declaration
public virtual bool Equals(V1ListMeta? other)
Parameters
Returns
Declaration
public override int GetHashCode()
Returns
Overrides
PrintMembers(StringBuilder)
Declaration
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
Returns
Declaration
public override string ToString()
Returns
Overrides
Operators
Declaration
public static bool operator ==(V1ListMeta? left, V1ListMeta? right)
Parameters
Returns
Declaration
public static bool operator !=(V1ListMeta? left, V1ListMeta? right)
Parameters
Returns
Implements