Class V1ListMeta
java.lang.Object
io.kubernetes.client.openapi.models.V1ListMeta
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-04-23T13:45:09.091597Z[Etc/UTC]")
public class V1ListMeta
extends Object
ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
static V1ListMeta
Create an instance of V1ListMeta given an JSON stringcontinue may be set if the user set a limit on the number of items returned, and indicates that the server has more data available.remainingItemCount is the number of subsequent items in the list which are not included in this list response.String that identifies the server's internal version of this object that can be used by clients to determine when objects have changed.Deprecated: selfLink is a legacy read-only field that is no longer populated by the system.int
hashCode()
remainingItemCount
(Long remainingItemCount) resourceVersion
(String resourceVersion) void
setContinue
(String _continue) void
setRemainingItemCount
(Long remainingItemCount) void
setResourceVersion
(String resourceVersion) void
setSelfLink
(String selfLink) toJson()
Convert an instance of V1ListMeta to an JSON stringtoString()
static void
validateJsonObject
(com.google.gson.JsonObject jsonObj) Validates the JSON Object and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_CONTINUE
- See Also:
-
SERIALIZED_NAME_REMAINING_ITEM_COUNT
- See Also:
-
SERIALIZED_NAME_RESOURCE_VERSION
- See Also:
-
SERIALIZED_NAME_SELF_LINK
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1ListMeta
public V1ListMeta()
-
-
Method Details
-
_continue
-
getContinue
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.- Returns:
- _continue
-
setContinue
-
remainingItemCount
-
getRemainingItemCount
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.- Returns:
- remainingItemCount
-
setRemainingItemCount
-
resourceVersion
-
getResourceVersion
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- Returns:
- resourceVersion
-
setResourceVersion
-
selfLink
-
getSelfLink
Deprecated: selfLink is a legacy read-only field that is no longer populated by the system.- Returns:
- selfLink
-
setSelfLink
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonObject
Validates the JSON Object and throws an exception if issues found- Parameters:
jsonObj
- JSON Object- Throws:
IOException
- if the JSON Object is invalid with respect to V1ListMeta
-
fromJson
Create an instance of V1ListMeta given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of V1ListMeta
- Throws:
IOException
- if the JSON string is invalid with respect to V1ListMeta
-
toJson
Convert an instance of V1ListMeta to an JSON string- Returns:
- JSON string
-