com.hoiio.sdk.objects.voice
Class CallHistory
java.lang.Object
com.hoiio.sdk.objects.HoiioResponse
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 |
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
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.