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 Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Set field in a chainable fashion.getField()
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.int
hashCode()
Set message in a chainable fashion.Set reason in a chainable fashion.void
Set the field property valuevoid
setMessage
(String message) Set the message property valuevoid
Set the reason property valuetoString()
-
Field Details
-
JSON_PROPERTY_FIELD
- See Also:
-
JSON_PROPERTY_MESSAGE
- See Also:
-
JSON_PROPERTY_REASON
- See Also:
-
-
Constructor Details
-
V1StatusCause
public V1StatusCause()
-
-
Method Details
-
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
Set the field property value- Parameters:
field
- property value to set
-
field
Set field in a chainable fashion.- Returns:
- The same instance of V1StatusCause for chaining.
-
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
Set the message property value- Parameters:
message
- property value to set
-
message
Set message in a chainable fashion.- Returns:
- The same instance of V1StatusCause for chaining.
-
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
Set the reason property value- Parameters:
reason
- property value to set
-
reason
Set reason in a chainable fashion.- Returns:
- The same instance of V1StatusCause for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-