Package kubevirt.io
Class V1StatusCause
java.lang.Object
kubevirt.io.V1StatusCause
@Generated(value="io.swagger.codegen.languages.JavaClientCodegen",
date="2019-11-10T14:44:51.030+02:00")
public class V1StatusCause
extends Object
StatusCause provides more information about an api.Status failure, including cases when multiple errors are encountered.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetField()The field of the resource that has caused this error, as named by its JSON serialization.A human-readable description of the cause of the error.A machine-readable description of the cause of the error.inthashCode()voidvoidsetMessage(String message) voidprivate StringConvert the given object to string with each line indented by 4 spaces (except the first line).toString()
-
Field Details
-
field
-
message
-
reason
-
-
Constructor Details
-
V1StatusCause
public V1StatusCause()
-
-
Method Details
-
field
-
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
-
message
-
getMessage
A human-readable description of the cause of the error. This field may be presented as-is to a reader.- Returns:
- message
-
setMessage
-
reason
-
getReason
A machine-readable description of the cause of the error. If this value is empty there is no information available.- Returns:
- reason
-
setReason
-
equals
-
hashCode
public int hashCode() -
toString
-
toIndentedString
Convert the given object to string with each line indented by 4 spaces (except the first line).
-