Class V1TypeChecking
java.lang.Object
io.kubernetes.client.openapi.models.V1TypeChecking
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-04-23T13:45:09.091597Z[Etc/UTC]")
public class V1TypeChecking
extends Object
TypeChecking contains results of type checking the expressions in the ValidatingAdmissionPolicy
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddExpressionWarningsItem(V1ExpressionWarning expressionWarningsItem) booleanexpressionWarnings(List<V1ExpressionWarning> expressionWarnings) static V1TypeCheckingCreate an instance of V1TypeChecking given an JSON stringThe type checking warnings for each expression.inthashCode()voidsetExpressionWarnings(List<V1ExpressionWarning> expressionWarnings) toJson()Convert an instance of V1TypeChecking 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_EXPRESSION_WARNINGS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1TypeChecking
public V1TypeChecking()
-
-
Method Details
-
expressionWarnings
-
addExpressionWarningsItem
-
getExpressionWarnings
The type checking warnings for each expression.- Returns:
- expressionWarnings
-
setExpressionWarnings
-
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 V1TypeChecking
-
fromJson
Create an instance of V1TypeChecking given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of V1TypeChecking
- Throws:
IOException- if the JSON string is invalid with respect to V1TypeChecking
-
toJson
Convert an instance of V1TypeChecking to an JSON string- Returns:
- JSON string
-