com.hoiio.sdk.objects.number
Class AvailableNumber

java.lang.Object
  extended by com.hoiio.sdk.objects.HoiioResponse
      extended by 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
 
Methods inherited from class com.hoiio.sdk.objects.HoiioResponse
getContent
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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
Method Detail

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.