Class V1StatusCause

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

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1StatusCause extends Object
StatusCause provides more information about an api.Status failure, including cases when multiple errors are encountered.
  • Field Details

  • Constructor Details

    • V1StatusCause

      public V1StatusCause()
  • Method Details

    • getField

      public String getField()
      The field of the resource that has caused this error, as named by its JSON serialization. May include dot and postfix notation for nested attributes. Arrays are zero-indexed. Fields may appear more than once in an array of causes due to fields having multiple errors. Optional. Examples: \"name\" - the field \"name\" on the current resource \"items[0].name\" - the field \"name\" on the first array entry in \"items\"
      Returns:
      the field property value
    • setField

      public void setField(String field)
      Set the field property value
      Parameters:
      field - property value to set
    • field

      public V1StatusCause field(String field)
      Set field in a chainable fashion.
      Returns:
      The same instance of V1StatusCause for chaining.
    • getMessage

      public String getMessage()
      A human-readable description of the cause of the error. This field may be presented as-is to a reader.
      Returns:
      the message property value
    • setMessage

      public void setMessage(String message)
      Set the message property value
      Parameters:
      message - property value to set
    • message

      public V1StatusCause message(String message)
      Set message in a chainable fashion.
      Returns:
      The same instance of V1StatusCause for chaining.
    • getReason

      public String getReason()
      A machine-readable description of the cause of the error. If this value is empty there is no information available.
      Returns:
      the reason property value
    • setReason

      public void setReason(String reason)
      Set the reason property value
      Parameters:
      reason - property value to set
    • reason

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