Package kubevirt.io

Class V1StatusCause


  • @Generated(value="io.swagger.codegen.languages.JavaClientCodegen",
               date="2019-11-10T14:44:51.030+02:00")
    public class V1StatusCause
    extends java.lang.Object
    StatusCause provides more information about an api.Status failure, including cases when multiple errors are encountered.
    • Constructor Summary

      Constructors 
      Constructor Description
      V1StatusCause()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      V1StatusCause field​(java.lang.String field)  
      java.lang.String getField()
      The field of the resource that has caused this error, as named by its JSON serialization.
      java.lang.String getMessage()
      A human-readable description of the cause of the error.
      java.lang.String getReason()
      A machine-readable description of the cause of the error.
      int hashCode()  
      V1StatusCause message​(java.lang.String message)  
      V1StatusCause reason​(java.lang.String reason)  
      void setField​(java.lang.String field)  
      void setMessage​(java.lang.String message)  
      void setReason​(java.lang.String reason)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • V1StatusCause

        public V1StatusCause()
    • Method Detail

      • getField

        public java.lang.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:
        field
      • setField

        public void setField​(java.lang.String field)
      • message

        public V1StatusCause message​(java.lang.String message)
      • getMessage

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

        public void setMessage​(java.lang.String message)
      • reason

        public V1StatusCause reason​(java.lang.String reason)
      • getReason

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

        public void setReason​(java.lang.String reason)
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object