com.hoiio.sdk.objects.sms
Class SmsHistory

java.lang.Object
  extended by com.hoiio.sdk.objects.HoiioResponse
      extended by com.hoiio.sdk.objects.sms.SmsHistory

public class SmsHistory
extends HoiioResponse


Constructor Summary
SmsHistory(net.sf.json.JSONObject output)
          Constructs a new SmsHistory object by decoding the JSONObject as a response from the HTTP Request
 
Method Summary
 int getPageCount()
          Gets the number of entries returned in this response
 List<Sms> getSmsList()
          Gets the list of sms transactions returned
 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

SmsHistory

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

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

getPageCount

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

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

getSmsList

public List<Sms> getSmsList()
Gets the list of sms transactions returned

Returns:
List of SMS transactions in the period specified in the request.

getTotalCount

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

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