Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 1.4 KB

File metadata and controls

29 lines (22 loc) · 1.4 KB

V1GroupVersionForDiscovery

GroupVersion contains the "group/version" and "version" string of a version. It is made a struct to keep extensibility.

Properties

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.

Example

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)

[Back to Model list] [Back to API list] [Back to README]