Class V1beta1TypeChecking
java.lang.Object
io.kubernetes.client.openapi.models.V1beta1TypeChecking
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-10-04T19:37:38.574271Z[Etc/UTC]",
comments="Generator version: 7.6.0")
public class V1beta1TypeChecking
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(V1beta1ExpressionWarning expressionWarningsItem) booleanexpressionWarnings(List<V1beta1ExpressionWarning> expressionWarnings) static V1beta1TypeCheckingCreate an instance of V1beta1TypeChecking given an JSON stringThe type checking warnings for each expression.inthashCode()voidsetExpressionWarnings(List<V1beta1ExpressionWarning> expressionWarnings) toJson()Convert an instance of V1beta1TypeChecking to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_EXPRESSION_WARNINGS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1beta1TypeChecking
public V1beta1TypeChecking()
-
-
Method Details
-
expressionWarnings
-
addExpressionWarningsItem
public V1beta1TypeChecking addExpressionWarningsItem(V1beta1ExpressionWarning expressionWarningsItem) -
getExpressionWarnings
The type checking warnings for each expression.- Returns:
- expressionWarnings
-
setExpressionWarnings
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
Validates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is invalid with respect to V1beta1TypeChecking
-
fromJson
Create an instance of V1beta1TypeChecking given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of V1beta1TypeChecking
- Throws:
IOException- if the JSON string is invalid with respect to V1beta1TypeChecking
-
toJson
Convert an instance of V1beta1TypeChecking to an JSON string- Returns:
- JSON string
-