|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gsm.oneapi.responsebean.sms.RetrieveSMSResponse
public class RetrieveSMSResponse
The full response from the OneAPI server for a request to list received SMS messages
Constructor Summary | |
---|---|
RetrieveSMSResponse()
|
Method Summary | |
---|---|
java.lang.String |
getContentType()
return the HTTP Content-Type returned from the server if available |
int |
getHTTPResponseCode()
return the HTTP response code returned from the server |
InboundSMSMessageList |
getInboundSMSMessageList()
return a count of the number of available SMS messages, and an array of SMS messages |
java.lang.String |
getLocation()
return the HTTP location field returned form the server |
RequestError |
getRequestError()
return the server generated error response (from the JSON based error response) |
void |
setContentType(java.lang.String contentType)
set the HTTP Content-Type header returned by the server |
void |
setHTTPResponseCode(int httpResponseCode)
set the stored HTTP response code |
void |
setInboundSMSMessageList(InboundSMSMessageList inboundSMSMessageList)
set the inboundSMSMessageList. |
void |
setLocation(java.lang.String location)
set the HTTP location field |
void |
setRequestError(RequestError requestError)
set the contents of the error response |
java.lang.String |
toString()
generate a textual representation of the RetrieveSMSResponse including all nested elements and classes |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RetrieveSMSResponse()
Method Detail |
---|
public int getHTTPResponseCode()
public java.lang.String getContentType()
public RequestError getRequestError()
public void setHTTPResponseCode(int httpResponseCode)
httpResponseCode
- sets the stored HTTP response codepublic void setContentType(java.lang.String contentType)
contentType
- sets the stored HTTP Content-Type headerpublic void setRequestError(RequestError requestError)
requestError
- sets the contents of the error responseRequestError
public java.lang.String getLocation()
public void setLocation(java.lang.String location)
location
- contents of the HTTP location headerpublic InboundSMSMessageList getInboundSMSMessageList()
public void setInboundSMSMessageList(InboundSMSMessageList inboundSMSMessageList)
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |