kubernetes_asyncio.client.models.v1_expression_warning 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_expression_warning.V1ExpressionWarning(field_ref=None, warning=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_ref': 'fieldRef', 'warning': 'warning'}
property field_ref

Gets the field_ref of this V1ExpressionWarning. # noqa: E501

The path to the field that refers the expression. For example, the reference to the expression of the first item of validations is “spec.validations[0].expression” # noqa: E501

Returns:

The field_ref of this V1ExpressionWarning. # noqa: E501

Return type:

str

openapi_types = {'field_ref': 'str', 'warning': 'str'}
to_dict(serialize=False)

Returns the model properties as a dict

to_str()

Returns the string representation of the model

property warning

Gets the warning of this V1ExpressionWarning. # noqa: E501

The content of type checking information in a human-readable form. Each line of the warning contains the type that the expression is checked against, followed by the type check error from the compiler. # noqa: E501

Returns:

The warning of this V1ExpressionWarning. # noqa: E501

Return type:

str