Package net.stickycode.kuuty.model.v18
Class IoK8sApimachineryPkgApisMetaV1StatusCause
- java.lang.Object
-
- net.stickycode.kuuty.model.v18.IoK8sApimachineryPkgApisMetaV1StatusCause
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-11-26T11:01:11.402583+13:00[Pacific/Auckland]") public class IoK8sApimachineryPkgApisMetaV1StatusCause extends Object
StatusCause provides more information about an api.Status failure, including cases when multiple errors are encountered.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_FIELDstatic StringJSON_PROPERTY_MESSAGEstatic StringJSON_PROPERTY_REASON
-
Constructor Summary
Constructors Constructor Description IoK8sApimachineryPkgApisMetaV1StatusCause()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)IoK8sApimachineryPkgApisMetaV1StatusCausefield(String field)StringgetField()The field of the resource that has caused this error, as named by its JSON serialization.StringgetMessage()A human-readable description of the cause of the error.StringgetReason()A machine-readable description of the cause of the error.inthashCode()IoK8sApimachineryPkgApisMetaV1StatusCausemessage(String message)IoK8sApimachineryPkgApisMetaV1StatusCausereason(String reason)voidsetField(String field)voidsetMessage(String message)voidsetReason(String reason)StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_FIELD
public static final String JSON_PROPERTY_FIELD
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MESSAGE
public static final String JSON_PROPERTY_MESSAGE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_REASON
public static final String JSON_PROPERTY_REASON
- See Also:
- Constant Field Values
-
-
Method Detail
-
field
public IoK8sApimachineryPkgApisMetaV1StatusCause field(String field)
-
getField
@Nullable 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:
- field
-
setField
public void setField(String field)
-
message
public IoK8sApimachineryPkgApisMetaV1StatusCause message(String message)
-
getMessage
@Nullable public 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(String message)
-
reason
public IoK8sApimachineryPkgApisMetaV1StatusCause reason(String reason)
-
getReason
@Nullable public 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(String reason)
-
-