@Validated @Generated(value="io.swagger.codegen.languages.SeiyaSpringCodegen", date="2019-08-22T01:26:16.983+08:00") public class Response extends Object
| Constructor and Description |
|---|
Response() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
static Response |
fromString(String json)
Convert the given JSON string to object of class
Response. |
String |
getCode()
Get code
|
String |
getMessage()
Get message
|
Object |
getResult()
Get result
|
int |
hashCode() |
void |
setCode(String code) |
void |
setMessage(String message) |
void |
setResult(Object result) |
String |
toString() |
Response |
withCode(String code) |
Response |
withMessage(String message) |
Response |
withResult(Object result) |
public String getCode()
public void setCode(String code)
public String getMessage()
public void setMessage(String message)
public Object getResult()
public void setResult(Object result)
public static Response fromString(String json) throws IOException
Response.IOExceptionCopyright © 2019. All rights reserved.