Package cloud.dnation.hetznerclient
Class ErrorDetail
- java.lang.Object
-
- cloud.dnation.hetznerclient.ErrorDetail
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-04-26T18:25:35.290404Z[Etc/UTC]") public class ErrorDetail extends ObjectError message for the Action if error occurred, otherwise null
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERIALIZED_NAME_CODEstatic StringSERIALIZED_NAME_MESSAGE
-
Constructor Summary
Constructors Constructor Description ErrorDetail()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ErrorDetailcode(String code)booleanequals(Object o)StringgetCode()Fixed machine readable codeStringgetMessage()Humanized error messageinthashCode()ErrorDetailmessage(String message)voidsetCode(String code)voidsetMessage(String message)StringtoString()
-
-
-
Field Detail
-
SERIALIZED_NAME_CODE
public static final String SERIALIZED_NAME_CODE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_MESSAGE
public static final String SERIALIZED_NAME_MESSAGE
- See Also:
- Constant Field Values
-
-
Method Detail
-
code
public ErrorDetail code(String code)
-
getCode
@Nullable public String getCode()
Fixed machine readable code- Returns:
- code
-
setCode
public void setCode(String code)
-
message
public ErrorDetail message(String message)
-
getMessage
@Nullable public String getMessage()
Humanized error message- Returns:
- message
-
setMessage
public void setMessage(String message)
-
-