Class V1alpha1ExpressionWarning

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

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

  • Constructor Details

    • V1alpha1ExpressionWarning

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

    • getFieldRef

      public String 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:
      the fieldRef property value
    • setFieldRef

      public void setFieldRef(String fieldRef)
      Set the fieldRef property value
    • fieldRef

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

      public String 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:
      the warning property value
    • setWarning

      public void setWarning(String warning)
      Set the warning property value
    • warning

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