kubernetes_asyncio.client.models.v1_component_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_component_condition.V1ComponentCondition(error=None, message=None, status=None, type=None, local_vars_configuration=None)

Bases: object

NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech

Do not edit the class manually.

attribute_map = {'error': 'error', 'message': 'message', 'status': 'status', 'type': 'type'}
property error

Gets the error of this V1ComponentCondition. # noqa: E501

Condition error code for a component. For example, a health check error code. # noqa: E501

Returns:

The error of this V1ComponentCondition. # noqa: E501

Return type:

str

property message

Gets the message of this V1ComponentCondition. # noqa: E501

Message about the condition for a component. For example, information about a health check. # noqa: E501

Returns:

The message of this V1ComponentCondition. # noqa: E501

Return type:

str

openapi_types = {'error': 'str', 'message': 'str', 'status': 'str', 'type': 'str'}
property status

Gets the status of this V1ComponentCondition. # noqa: E501

Status of the condition for a component. Valid values for “Healthy”: “True”, “False”, or “Unknown”. # noqa: E501

Returns:

The status of this V1ComponentCondition. # 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 V1ComponentCondition. # noqa: E501

Type of condition for a component. Valid value: “Healthy” # noqa: E501

Returns:

The type of this V1ComponentCondition. # noqa: E501

Return type:

str