GroupVersion contains the "group/version" and "version" string of a version. It is made a struct to keep extensibility.
| Name | Type | Description | Notes |
|---|---|---|---|
| group_version | str | groupVersion specifies the API group and version in the form "group/version" | |
| version | str | version specifies the version in the form of "version". This is to save the clients the trouble of splitting the GroupVersion. |
from kubernetes.client.models.v1_group_version_for_discovery import V1GroupVersionForDiscovery
# TODO update the JSON string below
json = "{}"
# create an instance of V1GroupVersionForDiscovery from a JSON string
v1_group_version_for_discovery_instance = V1GroupVersionForDiscovery.from_json(json)
# print the JSON string representation of the object
print(V1GroupVersionForDiscovery.to_json())
# convert the object into a dict
v1_group_version_for_discovery_dict = v1_group_version_for_discovery_instance.to_dict()
# create an instance of V1GroupVersionForDiscovery from a dict
v1_group_version_for_discovery_from_dict = V1GroupVersionForDiscovery.from_dict(v1_group_version_for_discovery_dict)