kubernetes_asyncio.client.models.v1_condition 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_condition.V1Condition(last_transition_time=None, message=None, observed_generation=None, reason=None, status=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 = {'last_transition_time': 'lastTransitionTime', 'message': 'message', 'observed_generation': 'observedGeneration', 'reason': 'reason', 'status': 'status', 'type': 'type'}
- property last_transition_time
Gets the last_transition_time of this V1Condition. # noqa: E501
lastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. # noqa: E501
- Returns:
The last_transition_time of this V1Condition. # noqa: E501
- Return type:
datetime
- property message
Gets the message of this V1Condition. # noqa: E501
message is a human readable message indicating details about the transition. This may be an empty string. # noqa: E501
- Returns:
The message of this V1Condition. # noqa: E501
- Return type:
str
- property observed_generation
Gets the observed_generation of this V1Condition. # noqa: E501
observedGeneration represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date with respect to the current state of the instance. # noqa: E501
- Returns:
The observed_generation of this V1Condition. # noqa: E501
- Return type:
int
- openapi_types = {'last_transition_time': 'datetime', 'message': 'str', 'observed_generation': 'int', 'reason': 'str', 'status': 'str', 'type': 'str'}
- property reason
Gets the reason of this V1Condition. # noqa: E501
reason contains a programmatic identifier indicating the reason for the condition’s last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. This field may not be empty. # noqa: E501
- Returns:
The reason of this V1Condition. # noqa: E501
- Return type:
str
- property status
Gets the status of this V1Condition. # noqa: E501
status of the condition, one of True, False, Unknown. # noqa: E501
- Returns:
The status of this V1Condition. # noqa: E501
- Return 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 V1Condition. # noqa: E501
type of condition in CamelCase or in foo.example.com/CamelCase. # noqa: E501
- Returns:
The type of this V1Condition. # noqa: E501
- Return type:
str