Class V1ExpressionWarning
java.lang.Object
io.kubernetes.client.openapi.models.V1ExpressionWarning
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-04-23T13:45:09.091597Z[Etc/UTC]")
public class V1ExpressionWarning
extends Object
ExpressionWarning is a warning information that targets a specific expression.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic V1ExpressionWarningCreate an instance of V1ExpressionWarning given an JSON stringThe path to the field that refers the expression.The content of type checking information in a human-readable form.inthashCode()voidsetFieldRef(String fieldRef) voidsetWarning(String warning) toJson()Convert an instance of V1ExpressionWarning to an JSON stringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj) Validates the JSON Object and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_FIELD_REF
- See Also:
-
SERIALIZED_NAME_WARNING
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1ExpressionWarning
public V1ExpressionWarning()
-
-
Method Details
-
fieldRef
-
getFieldRef
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\"- Returns:
- fieldRef
-
setFieldRef
-
warning
-
getWarning
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.- Returns:
- warning
-
setWarning
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonObject
Validates the JSON Object and throws an exception if issues found- Parameters:
jsonObj- JSON Object- Throws:
IOException- if the JSON Object is invalid with respect to V1ExpressionWarning
-
fromJson
Create an instance of V1ExpressionWarning given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of V1ExpressionWarning
- Throws:
IOException- if the JSON string is invalid with respect to V1ExpressionWarning
-
toJson
Convert an instance of V1ExpressionWarning to an JSON string- Returns:
- JSON string
-