Class V1ShardInfo
java.lang.Object
io.kubernetes.client.openapi.models.V1ShardInfo
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2026-06-26T22:35:15.319369Z[Etc/UTC]",
comments="Generator version: 7.18.0")
public class V1ShardInfo
extends Object
ShardInfo describes the shard selector that was applied to produce a list response. Its presence on a list response indicates the list is a filtered subset.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic V1ShardInfoCreate an instance of V1ShardInfo given an JSON stringselector is the shard selector string from the request, echoed back so clients can verify which shard they received and merge responses from multiple shards.inthashCode()voidsetSelector(String selector) toJson()Convert an instance of V1ShardInfo to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_SELECTOR
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1ShardInfo
public V1ShardInfo()
-
-
Method Details
-
selector
-
getSelector
selector is the shard selector string from the request, echoed back so clients can verify which shard they received and merge responses from multiple shards.- Returns:
- selector
-
setSelector
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
Validates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is invalid with respect to V1ShardInfo
-
fromJson
Create an instance of V1ShardInfo given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of V1ShardInfo
- Throws:
IOException- if the JSON string is invalid with respect to V1ShardInfo
-
toJson
Convert an instance of V1ShardInfo to an JSON string- Returns:
- JSON string
-