CrossVersionObjectReference contains enough information to let you identify the referred resource.
| Name | Type | Description | Notes |
|---|---|---|---|
| api_version | str | apiVersion is the API version of the referent | [optional] |
| kind | str | kind is the kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | |
| name | str | name is the name of the referent; More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names |
from kubernetes.client.models.v1_cross_version_object_reference import V1CrossVersionObjectReference
# TODO update the JSON string below
json = "{}"
# create an instance of V1CrossVersionObjectReference from a JSON string
v1_cross_version_object_reference_instance = V1CrossVersionObjectReference.from_json(json)
# print the JSON string representation of the object
print(V1CrossVersionObjectReference.to_json())
# convert the object into a dict
v1_cross_version_object_reference_dict = v1_cross_version_object_reference_instance.to_dict()
# create an instance of V1CrossVersionObjectReference from a dict
v1_cross_version_object_reference_from_dict = V1CrossVersionObjectReference.from_dict(v1_cross_version_object_reference_dict)