Class V1beta1ParentReference
java.lang.Object
io.kubernetes.client.openapi.models.V1beta1ParentReference
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-02-12T21:15:49.397498Z[Etc/UTC]",
comments="Generator version: 7.6.0")
public class V1beta1ParentReference
extends Object
ParentReference describes a reference to a parent object.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
static V1beta1ParentReference
Create an instance of V1beta1ParentReference given an JSON stringgetGroup()
Group is the group of the object being referenced.getName()
Name is the name of the object being referenced.Namespace is the namespace of the object being referenced.Resource is the resource of the object being referenced.int
hashCode()
void
void
void
setNamespace
(String namespace) void
setResource
(String resource) toJson()
Convert an instance of V1beta1ParentReference to an JSON stringtoString()
static void
validateJsonElement
(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_GROUP
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_NAMESPACE
- See Also:
-
SERIALIZED_NAME_RESOURCE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1beta1ParentReference
public V1beta1ParentReference()
-
-
Method Details
-
group
-
getGroup
Group is the group of the object being referenced.- Returns:
- group
-
setGroup
-
name
-
getName
Name is the name of the object being referenced.- Returns:
- name
-
setName
-
namespace
-
getNamespace
Namespace is the namespace of the object being referenced.- Returns:
- namespace
-
setNamespace
-
resource
-
getResource
Resource is the resource of the object being referenced.- Returns:
- resource
-
setResource
-
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 V1beta1ParentReference
-
fromJson
Create an instance of V1beta1ParentReference given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of V1beta1ParentReference
- Throws:
IOException
- if the JSON string is invalid with respect to V1beta1ParentReference
-
toJson
Convert an instance of V1beta1ParentReference to an JSON string- Returns:
- JSON string
-