|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gsm.oneapi.responsebean.sms.SMSMessageReceiptSubscriptionResponse
public class SMSMessageReceiptSubscriptionResponse
The full response from the OneAPI server for a request to subscribe to received SMS Message Receipts
Constructor Summary | |
---|---|
SMSMessageReceiptSubscriptionResponse()
|
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 |
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) |
ResourceReference |
getResourceReference()
return resourceReference - a URL uniquely identifying a successful request to create the SMS message receipt subscription |
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 |
setLocation(java.lang.String location)
set the HTTP location field |
void |
setRequestError(RequestError requestError)
set the contents of the error response |
void |
setResourceReference(ResourceReference resourceReference)
set resourceReference, the URL uniquely identifying a successful request to create the SMS message receipt subscription. |
java.lang.String |
toString()
generate a textual representation of the SMSMessageReceiptSubscriptionResponse 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 SMSMessageReceiptSubscriptionResponse()
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 ResourceReference getResourceReference()
public void setResourceReference(ResourceReference resourceReference)
resourceReference
- 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 |