public class StravaAPIError extends Object
StravaResponse when an error is returned by the API| Constructor and Description |
|---|
StravaAPIError()
No args constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getCode() |
String |
getField() |
String |
getResource() |
int |
hashCode() |
void |
setCode(String code) |
void |
setField(String field) |
void |
setResource(String resource) |
String |
toString() |
public boolean equals(Object obj)
equals in class ObjectObject.equals(java.lang.Object)public String getCode()
public String getField()
public String getResource()
public int hashCode()
hashCode in class ObjectObject.hashCode()public void setCode(String code)
code - the code to setpublic void setField(String field)
field - the field to setpublic void setResource(String resource)
resource - the resource to setpublic String toString()
toString in class ObjectObject.toString()Copyright © 2016 Dan Shannon. All rights reserved.