com.hoiio.sdk.objects.number
Class AvailableNumber
java.lang.Object
com.hoiio.sdk.objects.HoiioResponse
com.hoiio.sdk.objects.number.AvailableNumber
public class AvailableNumber
- extends HoiioResponse
Constructor Summary |
AvailableNumber(net.sf.json.JSONObject output)
Constructs a new AvailableNumber object by decoding the JSONObject as a response from the HTTP Request |
Method Summary |
List<String> |
getNumberList()
Gets the list of available Hoiio Numbers |
int |
getPageCount()
Gets the number of available Hoiio Numbers returned in this response |
int |
getTotalCount()
Gets the total number of available Hoiio Numbers returned in this response |
AvailableNumber
public AvailableNumber(net.sf.json.JSONObject output)
- Constructs a new
AvailableNumber
object by decoding the JSONObject
as a response from the HTTP Request
- Parameters:
output
- The response of the HTTP Request
getNumberList
public List<String> getNumberList()
- Gets the list of available Hoiio Numbers
- Returns:
- List of available Hoiio Numbers
getPageCount
public int getPageCount()
- Gets the number of available Hoiio Numbers returned in this response
- Returns:
- The number of available Hoiio Numbers returned in this response.
getTotalCount
public int getTotalCount()
- Gets the total number of available Hoiio Numbers returned in this response
- Returns:
- The total number of available Hoiio Numbers in the country specified in the request.