kubernetes_asyncio.client.models.v1_pod_failure_policy_on_pod_conditions_pattern 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_pod_failure_policy_on_pod_conditions_pattern.V1PodFailurePolicyOnPodConditionsPattern(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 = {'status': 'status', 'type': 'type'}
openapi_types = {'status': 'str', 'type': 'str'}
property status

Gets the status of this V1PodFailurePolicyOnPodConditionsPattern. # noqa: E501

Specifies the required Pod condition status. To match a pod condition it is required that the specified status equals the pod condition status. Defaults to True. # noqa: E501

Returns:

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

Specifies the required Pod condition type. To match a pod condition it is required that specified type equals the pod condition type. # noqa: E501

Returns:

The type of this V1PodFailurePolicyOnPodConditionsPattern. # noqa: E501

Return type:

str