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