kubernetes_asyncio.client.models.v1_status_cause 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_status_cause.V1StatusCause(field=None, message=None, reason=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 = {'field': 'field', 'message': 'message', 'reason': 'reason'}
property field

Gets the field of this V1StatusCause. # noqa: E501

The field of the resource that has caused this error, as named by its JSON serialization. May include dot and postfix notation for nested attributes. Arrays are zero-indexed. Fields may appear more than once in an array of causes due to fields having multiple errors. Optional. Examples: “name” - the field “name” on the current resource “items[0].name” - the field “name” on the first array entry in “items” # noqa: E501

Returns:

The field of this V1StatusCause. # noqa: E501

Return type:

str

property message

Gets the message of this V1StatusCause. # noqa: E501

A human-readable description of the cause of the error. This field may be presented as-is to a reader. # noqa: E501

Returns:

The message of this V1StatusCause. # noqa: E501

Return type:

str

openapi_types = {'field': 'str', 'message': 'str', 'reason': 'str'}
property reason

Gets the reason of this V1StatusCause. # noqa: E501

A machine-readable description of the cause of the error. If this value is empty there is no information available. # noqa: E501

Returns:

The reason of this V1StatusCause. # 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