Class V1CrossVersionObjectReference
java.lang.Object
io.kubernetes.client.openapi.models.V1CrossVersionObjectReference
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-02-02T17:56:12.287571Z[Etc/UTC]")
public class V1CrossVersionObjectReference
extends Object
CrossVersionObjectReference contains enough information to let you identify the referred resource.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapiVersion
(String apiVersion) boolean
Create an instance of V1CrossVersionObjectReference given an JSON stringapiVersion is the API version of the referentgetKind()
kind is the kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kindsgetName()
name is the name of the referent; More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#namesint
hashCode()
void
setApiVersion
(String apiVersion) void
void
toJson()
Convert an instance of V1CrossVersionObjectReference 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_VERSION
- See Also:
-
SERIALIZED_NAME_KIND
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1CrossVersionObjectReference
public V1CrossVersionObjectReference()
-
-
Method Details
-
apiVersion
-
getApiVersion
apiVersion is the API version of the referent- Returns:
- apiVersion
-
setApiVersion
-
kind
-
getKind
kind is the kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds- Returns:
- kind
-
setKind
-
name
-
getName
name is the name of the referent; More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names- Returns:
- name
-
setName
-
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 V1CrossVersionObjectReference
-
fromJson
Create an instance of V1CrossVersionObjectReference given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of V1CrossVersionObjectReference
- Throws:
IOException
- if the JSON string is invalid with respect to V1CrossVersionObjectReference
-
toJson
Convert an instance of V1CrossVersionObjectReference to an JSON string- Returns:
- JSON string
-