org.gsm.oneapi.responsebean.mms
Class InboundMMSMessage

java.lang.Object
  extended by org.gsm.oneapi.responsebean.mms.InboundMMSMessage
All Implemented Interfaces:
java.io.Serializable

public class InboundMMSMessage
extends java.lang.Object
implements java.io.Serializable

Supplemental information for an MMS message depending on the request made of the OneAPI server

See Also:
Serialized Form

Constructor Summary
InboundMMSMessage()
          default constructor
InboundMMSMessage(java.lang.String subject, java.lang.String message)
          utility constructor to create a DeliveryInfo instance with all fields set
 
Method Summary
 java.lang.String getMessage()
          return the MMS message body
 java.lang.String getSubject()
          return the subject field for the MMS message
 void setMessage(java.lang.String message)
          set the MMS message body.
 void setSubject(java.lang.String subject)
          set the subject field for the MMS message.
 java.lang.String toString()
          generate a textual representation of the InboundMMSMessage instance including nested elements and classes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InboundMMSMessage

public InboundMMSMessage()
default constructor


InboundMMSMessage

public InboundMMSMessage(java.lang.String subject,
                         java.lang.String message)
utility constructor to create a DeliveryInfo instance with all fields set

Parameters:
subject -
message -
Method Detail

getSubject

public java.lang.String getSubject()
return the subject field for the MMS message


setSubject

public void setSubject(java.lang.String subject)
set the subject field for the MMS message. This is called internally to set the contents according to the JSON response.


getMessage

public java.lang.String getMessage()
return the MMS message body


setMessage

public void setMessage(java.lang.String message)
set the MMS message body. This is called internally to set the contents according to the JSON response.


toString

public java.lang.String toString()
generate a textual representation of the InboundMMSMessage instance including nested elements and classes

Overrides:
toString in class java.lang.Object