Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 1.35 KB

File metadata and controls

30 lines (23 loc) · 1.35 KB

V2APIVersionDiscovery

APIVersionDiscovery holds a list of APIResourceDiscovery types that are served for a particular version within an API Group.

Properties

Name Type Description Notes
version str version is the name of the version within a group version.
resources List[V2APIResourceDiscovery] [optional]
freshness str freshness marks whether a group version's discovery document is up to date. [optional]

Example

from kubernetes.client.models.v2_api_version_discovery import V2APIVersionDiscovery

# TODO update the JSON string below
json = "{}"
# create an instance of V2APIVersionDiscovery from a JSON string
v2_api_version_discovery_instance = V2APIVersionDiscovery.from_json(json)
# print the JSON string representation of the object
print(V2APIVersionDiscovery.to_json())

# convert the object into a dict
v2_api_version_discovery_dict = v2_api_version_discovery_instance.to_dict()
# create an instance of V2APIVersionDiscovery from a dict
v2_api_version_discovery_from_dict = V2APIVersionDiscovery.from_dict(v2_api_version_discovery_dict)

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