Class V1IngressClassParametersReference
java.lang.Object
io.kubernetes.client.openapi.models.V1IngressClassParametersReference
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-02-04T19:05:53.712211Z[Etc/UTC]",
comments="Generator version: 7.6.0")
public class V1IngressClassParametersReference
extends Object
IngressClassParametersReference identifies an API object. This can be used to specify a cluster or namespace-scoped resource.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Create an instance of V1IngressClassParametersReference 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 is the namespace of the resource being referenced.getScope()
scope represents if this refers to a cluster or namespace scoped resource.int
hashCode()
void
setApiGroup
(String apiGroup) void
void
void
setNamespace
(String namespace) void
toJson()
Convert an instance of V1IngressClassParametersReference 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_KIND
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_NAMESPACE
- See Also:
-
SERIALIZED_NAME_SCOPE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1IngressClassParametersReference
public V1IngressClassParametersReference()
-
-
Method Details
-
apiGroup
-
getApiGroup
apiGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required.- Returns:
- apiGroup
-
setApiGroup
-
kind
-
getKind
kind is the type of resource being referenced.- Returns:
- kind
-
setKind
-
name
-
getName
name is the name of resource being referenced.- Returns:
- name
-
setName
-
namespace
-
getNamespace
namespace is the namespace of the resource being referenced. This field is required when scope is set to \"Namespace\" and must be unset when scope is set to \"Cluster\".- Returns:
- namespace
-
setNamespace
-
scope
-
getScope
scope represents if this refers to a cluster or namespace scoped resource. This may be set to \"Cluster\" (default) or \"Namespace\".- Returns:
- scope
-
setScope
-
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 V1IngressClassParametersReference
-
fromJson
Create an instance of V1IngressClassParametersReference given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of V1IngressClassParametersReference
- Throws:
IOException
- if the JSON string is invalid with respect to V1IngressClassParametersReference
-
toJson
Convert an instance of V1IngressClassParametersReference to an JSON string- Returns:
- JSON string
-