Class V1BoundObjectReference
java.lang.Object
io.kubernetes.client.openapi.models.V1BoundObjectReference
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-04-23T13:45:09.091597Z[Etc/UTC]")
public class V1BoundObjectReference
extends Object
BoundObjectReference is a reference to an object that a token is bound to.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapiVersion
(String apiVersion) boolean
static V1BoundObjectReference
Create an instance of V1BoundObjectReference given an JSON stringAPI version of the referent.getKind()
Kind of the referent.getName()
Name of the referent.getUid()
UID of the referent.int
hashCode()
void
setApiVersion
(String apiVersion) void
void
void
toJson()
Convert an instance of V1BoundObjectReference 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_API_VERSION
- See Also:
-
SERIALIZED_NAME_KIND
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_UID
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1BoundObjectReference
public V1BoundObjectReference()
-
-
Method Details
-
apiVersion
-
getApiVersion
API version of the referent.- Returns:
- apiVersion
-
setApiVersion
-
kind
-
getKind
Kind of the referent. Valid kinds are 'Pod' and 'Secret'.- Returns:
- kind
-
setKind
-
name
-
getName
Name of the referent.- Returns:
- name
-
setName
-
uid
-
getUid
UID of the referent.- Returns:
- uid
-
setUid
-
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 V1BoundObjectReference
-
fromJson
Create an instance of V1BoundObjectReference given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of V1BoundObjectReference
- Throws:
IOException
- if the JSON string is invalid with respect to V1BoundObjectReference
-
toJson
Convert an instance of V1BoundObjectReference to an JSON string- Returns:
- JSON string
-