com.hoiio.sdk.objects.voice
Class CallHistory

java.lang.Object
  extended by com.hoiio.sdk.objects.HoiioResponse
      extended by com.hoiio.sdk.objects.voice.CallHistory

public class CallHistory
extends HoiioResponse


Constructor Summary
CallHistory(net.sf.json.JSONObject output)
          Constructs a new CallHistory object by decoding the JSONObject as a response from the HTTP Request
 
Method Summary
 List<Call> getCallList()
          Gets the list of Call returned in this response
 int getPageCount()
          Gets the number of entries returned in this response
 int getTotalCount()
          Gets the total number of entries in the period specified in the request
 
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

CallHistory

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

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

getCallList

public List<Call> getCallList()
Gets the list of Call returned in this response

Returns:
The list of Call returned in this response

getPageCount

public int getPageCount()
Gets the number of entries returned in this response

Returns:
The number of call history entries returned in this response.

getTotalCount

public int getTotalCount()
Gets the total number of entries in the period specified in the request

Returns:
The total number of call history entries in the period specified in the request.