public class BasicResponse extends Object
| Constructor and Description |
|---|
BasicResponse() |
| Modifier and Type | Method and Description |
|---|---|
BasicResponse |
addErrorsItem(ApiError errorsItem) |
boolean |
equals(Object o) |
BasicResponse |
errors(List<ApiError> errors) |
List<ApiError> |
getErrors()
Get errors
|
String |
getMessage()
Get message
|
String |
getStatus()
Get status
|
Long |
getTotal()
Get total
|
String |
getType()
Get type
|
int |
hashCode() |
BasicResponse |
message(String message) |
void |
setErrors(List<ApiError> errors) |
void |
setMessage(String message) |
void |
setStatus(String status) |
void |
setTotal(Long total) |
void |
setType(String type) |
BasicResponse |
status(String status) |
String |
toString() |
BasicResponse |
total(Long total) |
BasicResponse |
type(String type) |
public BasicResponse status(String status)
public String getStatus()
public void setStatus(String status)
public BasicResponse type(String type)
public String getType()
public void setType(String type)
public BasicResponse message(String message)
public String getMessage()
public void setMessage(String message)
public BasicResponse errors(List<ApiError> errors)
public BasicResponse addErrorsItem(ApiError errorsItem)
public BasicResponse total(Long total)
public Long getTotal()
public void setTotal(Long total)
Copyright © 2017 LeanIX GmbH. All rights reserved.