com.hoiio.sdk.objects.number
Class ActiveNumber

java.lang.Object
  extended by com.hoiio.sdk.objects.HoiioResponse
      extended by com.hoiio.sdk.objects.number.ActiveNumber

public class ActiveNumber
extends HoiioResponse


Constructor Summary
ActiveNumber(net.sf.json.JSONObject output)
          Constructs a new ActiveNumber object by decoding the JSONObject as a response from the HTTP Request
 
Method Summary
 List<Number> getNumberList()
          Gets the list of active numbers for this account
 int getPageCount()
          Gets the number of 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

ActiveNumber

public ActiveNumber(net.sf.json.JSONObject output)
             throws HoiioException
Constructs a new ActiveNumber object by decoding the JSONObject as a response from the HTTP Request

Parameters:
output - The response of the HTTP Request
Throws:
HoiioException
Method Detail

getNumberList

public List<Number> getNumberList()
Gets the list of active numbers for this account

Returns:
List of active Numbers for this account.

getPageCount

public int getPageCount()
Gets the number of Hoiio Numbers returned in this response.

Returns:
The number of Hoiio Number entries returned in this response.