com.hoiio.sdk.objects.fax
Class FaxHistory

java.lang.Object
  extended by com.hoiio.sdk.objects.HoiioResponse
      extended by com.hoiio.sdk.objects.fax.FaxHistory

public class FaxHistory
extends HoiioResponse


Constructor Summary
FaxHistory(net.sf.json.JSONObject output)
          Constructs a new FaxHistory object by decoding the JSONObject as a response from the HTTP Request
 
Method Summary
 List<Fax> getFaxList()
          Gets the list of all @{code Fax} objects in the period specified in the request
 int getPageCount()
          Gets the number of the fax history entries returned in this response
 int getTotalCount()
          Gets the total number of fax history entries 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

FaxHistory

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

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

getFaxList

public List<Fax> getFaxList()
Gets the list of all @{code Fax} objects in the period specified in the request

Returns:
List of all @{code Fax} objects in the period specified in the request.

getPageCount

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

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

getTotalCount

public int getTotalCount()
Gets the total number of fax history entries returned in this response

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