Class V1alpha3ResourceClaimConsumerReference
java.lang.Object
io.kubernetes.client.openapi.models.V1alpha3ResourceClaimConsumerReference
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-02-04T19:05:53.712211Z[Etc/UTC]",
comments="Generator version: 7.6.0")
public class V1alpha3ResourceClaimConsumerReference
extends Object
ResourceClaimConsumerReference contains enough information to let you locate the consumer of a ResourceClaim. The user must be a resource in the same namespace as the ResourceClaim.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Create an instance of V1alpha3ResourceClaimConsumerReference given an JSON stringAPIGroup is the group for the resource being referenced.getName()
Name is the name of resource being referenced.Resource is the type of resource being referenced, for example \"pods\".getUid()
UID identifies exactly one incarnation of the resource.int
hashCode()
void
setApiGroup
(String apiGroup) void
void
setResource
(String resource) void
toJson()
Convert an instance of V1alpha3ResourceClaimConsumerReference 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_API_GROUP
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_RESOURCE
- See Also:
-
SERIALIZED_NAME_UID
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1alpha3ResourceClaimConsumerReference
public V1alpha3ResourceClaimConsumerReference()
-
-
Method Details
-
apiGroup
-
getApiGroup
APIGroup is the group for the resource being referenced. It is empty for the core API. This matches the group in the APIVersion that is used when creating the resources.- Returns:
- apiGroup
-
setApiGroup
-
name
-
getName
Name is the name of resource being referenced.- Returns:
- name
-
setName
-
resource
-
getResource
Resource is the type of resource being referenced, for example \"pods\".- Returns:
- resource
-
setResource
-
uid
-
getUid
UID identifies exactly one incarnation of the resource.- Returns:
- uid
-
setUid
-
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 V1alpha3ResourceClaimConsumerReference
-
fromJson
Create an instance of V1alpha3ResourceClaimConsumerReference given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of V1alpha3ResourceClaimConsumerReference
- Throws:
IOException
- if the JSON string is invalid with respect to V1alpha3ResourceClaimConsumerReference
-
toJson
Convert an instance of V1alpha3ResourceClaimConsumerReference to an JSON string- Returns:
- JSON string
-