Class V1ExpressionWarning

java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1ExpressionWarning

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1ExpressionWarning extends Object
ExpressionWarning is a warning information that targets a specific expression.
  • Field Details

  • Constructor Details

    • V1ExpressionWarning

      public V1ExpressionWarning(String fieldRef, String warning)
  • Method Details

    • getFieldRef

      public String getFieldRef()
      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\"
      Returns:
      the fieldRef property value
    • setFieldRef

      public void setFieldRef(String fieldRef)
      Set the fieldRef property value
      Parameters:
      fieldRef - property value to set
    • fieldRef

      public V1ExpressionWarning fieldRef(String fieldRef)
      Set fieldRef in a chainable fashion.
      Returns:
      The same instance of V1ExpressionWarning for chaining.
    • getWarning

      public String getWarning()
      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.
      Returns:
      the warning property value
    • setWarning

      public void setWarning(String warning)
      Set the warning property value
      Parameters:
      warning - property value to set
    • warning

      public V1ExpressionWarning warning(String warning)
      Set warning in a chainable fashion.
      Returns:
      The same instance of V1ExpressionWarning for chaining.
    • 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