kubernetes_asyncio.client.models.v1_watch_event module
Kubernetes
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
The version of the OpenAPI document: v1.34.3 Generated by: https://openapi-generator.tech
- class kubernetes_asyncio.client.models.v1_watch_event.V1WatchEvent(object=None, type=None, local_vars_configuration=None)
Bases:
objectNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech
Do not edit the class manually.
- attribute_map = {'object': 'object', 'type': 'type'}
- property object
Gets the object of this V1WatchEvent. # noqa: E501
Object is: * If Type is Added or Modified: the new state of the object. * If Type is Deleted: the state of the object immediately before deletion. * If Type is Error: *Status is recommended; other types may make sense depending on context. # noqa: E501
- Returns:
The object of this V1WatchEvent. # noqa: E501
- Return type:
object
- openapi_types = {'object': 'object', 'type': 'str'}
- to_dict(serialize=False)
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
- property type
Gets the type of this V1WatchEvent. # noqa: E501
- Returns:
The type of this V1WatchEvent. # noqa: E501
- Return type:
str