Class V1ForNode
java.lang.Object
io.kubernetes.client.openapi.models.V1ForNode
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-05-20T20:47:13.890592Z[Etc/UTC]",
comments="Generator version: 7.13.0")
public class V1ForNode
extends Object
ForNode provides information about which nodes should consume this endpoint.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic V1ForNodeCreate an instance of V1ForNode given an JSON stringgetName()name represents the name of the node.inthashCode()voidtoJson()Convert an instance of V1ForNode 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_NAME
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1ForNode
public V1ForNode()
-
-
Method Details
-
name
-
getName
name represents the name of the node.- Returns:
- name
-
setName
-
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 V1ForNode
-
fromJson
Create an instance of V1ForNode given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of V1ForNode
- Throws:
IOException- if the JSON string is invalid with respect to V1ForNode
-
toJson
Convert an instance of V1ForNode to an JSON string- Returns:
- JSON string
-