ExpressionWarning is a warning information that targets a specific expression.
| Name | Type | Description | Notes |
|---|---|---|---|
| field_ref | str | fieldRef is the path to the field that refers to the expression. For example, the reference to the expression of the first item of validations is "spec.validations[0].expression" | |
| warning | str | warning contains 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. |
from kubernetes.client.models.v1_expression_warning import V1ExpressionWarning
# TODO update the JSON string below
json = "{}"
# create an instance of V1ExpressionWarning from a JSON string
v1_expression_warning_instance = V1ExpressionWarning.from_json(json)
# print the JSON string representation of the object
print(V1ExpressionWarning.to_json())
# convert the object into a dict
v1_expression_warning_dict = v1_expression_warning_instance.to_dict()
# create an instance of V1ExpressionWarning from a dict
v1_expression_warning_from_dict = V1ExpressionWarning.from_dict(v1_expression_warning_dict)