public class StravaResponse extends Object
Representation of the response received from Strava in error situations (most commonly when resources are not found or there is an authorisation issue)
| Constructor and Description |
|---|
StravaResponse()
No args constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
List<StravaAPIError> |
getErrors() |
String |
getMessage() |
int |
hashCode() |
void |
setErrors(List<StravaAPIError> errors) |
void |
setMessage(String message) |
String |
toString() |
public boolean equals(Object obj)
equals in class ObjectObject.equals(java.lang.Object)public List<StravaAPIError> getErrors()
public String getMessage()
public int hashCode()
hashCode in class ObjectObject.hashCode()public void setErrors(List<StravaAPIError> errors)
errors - the errors to setpublic void setMessage(String message)
message - the message to setpublic String toString()
toString in class ObjectObject.toString()Copyright © 2016 Dan Shannon. All rights reserved.