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
  • Field Details

    • SERIALIZED_NAME_EXPRESSION_WARNINGS

      public static final String SERIALIZED_NAME_EXPRESSION_WARNINGS
      See Also:
    • openapiFields

      public static HashSet<String> openapiFields
    • openapiRequiredFields

      public static HashSet<String> openapiRequiredFields
  • Constructor Details

    • V1beta1TypeChecking

      public V1beta1TypeChecking()
  • Method Details

    • expressionWarnings

      public V1beta1TypeChecking expressionWarnings(List<V1beta1ExpressionWarning> expressionWarnings)
    • addExpressionWarningsItem

      public V1beta1TypeChecking addExpressionWarningsItem(V1beta1ExpressionWarning expressionWarningsItem)
    • getExpressionWarnings

      @Nullable public List<V1beta1ExpressionWarning> getExpressionWarnings()
      The type checking warnings for each expression.
      Returns:
      expressionWarnings
    • setExpressionWarnings

      public void setExpressionWarnings(List<V1beta1ExpressionWarning> expressionWarnings)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • validateJsonElement

      public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException
      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

      public static V1beta1TypeChecking fromJson(String jsonString) throws IOException
      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

      public String toJson()
      Convert an instance of V1beta1TypeChecking to an JSON string
      Returns:
      JSON string