Class V1alpha2ResourceClassParametersReference
java.lang.Object
io.kubernetes.client.openapi.models.V1alpha2ResourceClassParametersReference
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-02-02T17:56:12.287571Z[Etc/UTC]")
public class V1alpha2ResourceClassParametersReference
extends Object
ResourceClassParametersReference contains enough information to let you locate the parameters for a ResourceClass.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Create an instance of V1alpha2ResourceClassParametersReference given an JSON stringAPIGroup is the group for the resource being referenced.getKind()
Kind is the type of resource being referenced.getName()
Name is the name of resource being referenced.Namespace that contains the referenced resource.int
hashCode()
void
setApiGroup
(String apiGroup) void
void
void
setNamespace
(String namespace) toJson()
Convert an instance of V1alpha2ResourceClassParametersReference 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_GROUP
- See Also:
-
SERIALIZED_NAME_KIND
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_NAMESPACE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1alpha2ResourceClassParametersReference
public V1alpha2ResourceClassParametersReference()
-
-
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
-
kind
-
getKind
Kind is the type of resource being referenced. This is the same value as in the parameter object's metadata.- Returns:
- kind
-
setKind
-
name
-
getName
Name is the name of resource being referenced.- Returns:
- name
-
setName
-
namespace
-
getNamespace
Namespace that contains the referenced resource. Must be empty for cluster-scoped resources and non-empty for namespaced resources.- Returns:
- namespace
-
setNamespace
-
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 V1alpha2ResourceClassParametersReference
-
fromJson
public static V1alpha2ResourceClassParametersReference fromJson(String jsonString) throws IOException Create an instance of V1alpha2ResourceClassParametersReference given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of V1alpha2ResourceClassParametersReference
- Throws:
IOException
- if the JSON string is invalid with respect to V1alpha2ResourceClassParametersReference
-
toJson
Convert an instance of V1alpha2ResourceClassParametersReference to an JSON string- Returns:
- JSON string
-