Class V1alpha1ParentReference
java.lang.Object
io.kubernetes.client.openapi.models.V1alpha1ParentReference
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-04-23T13:45:09.091597Z[Etc/UTC]")
public class V1alpha1ParentReference
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 V1alpha1ParentReference
Create an instance of V1alpha1ParentReference 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 V1alpha1ParentReference 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_GROUP
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_NAMESPACE
- See Also:
-
SERIALIZED_NAME_RESOURCE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1alpha1ParentReference
public V1alpha1ParentReference()
-
-
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
-
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 V1alpha1ParentReference
-
fromJson
Create an instance of V1alpha1ParentReference given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of V1alpha1ParentReference
- Throws:
IOException
- if the JSON string is invalid with respect to V1alpha1ParentReference
-
toJson
Convert an instance of V1alpha1ParentReference to an JSON string- Returns:
- JSON string
-