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