public class PhoneInfoResponse extends Object implements Formattable
| Constructor and Description |
|---|
PhoneInfoResponse() |
PhoneInfoResponse(int status,
String response,
String message) |
| Modifier and Type | Method and Description |
|---|---|
String |
getIsPorted() |
String |
getMessage() |
String |
getProvider() |
String |
getSuccess() |
String |
getType() |
boolean |
isOk() |
void |
setResponse(String response) |
void |
setStatus(int status) |
String |
toJSON() |
Map<String,String> |
toMap()
Map a Token instance to its Java's Map representation.
|
String |
toXML()
Map a Token instance to its XML representation.
|
public String getMessage()
public String getProvider()
public String getType()
public String getSuccess()
public String getIsPorted()
public void setStatus(int status)
public void setResponse(String response)
public boolean isOk()
public String toXML()
toXML in interface Formattablepublic Map<String,String> toMap()
toMap in interface Formattablepublic String toJSON()
toJSON in interface FormattableCopyright © 2017. All rights reserved.