Class: DeliveryInfoNotification
- Inherits:
-
Object
- Object
- DeliveryInfoNotification
- Defined in:
- lib/response/mms/DeliveryInfoNotification.rb,
lib/response/sms/DeliveryInfoNotification.rb
Instance Method Summary collapse
- #getCallbackData ⇒ Object
- #getDeliveryInfo ⇒ Object
-
#initialize ⇒ DeliveryInfoNotification
constructor
A new instance of DeliveryInfoNotification.
- #initializeJSON(jsondict) ⇒ Object
- #setCallbackData(callbackData) ⇒ Object
- #setDeliveryInfo(deliveryInfo) ⇒ Object
Constructor Details
#initialize ⇒ DeliveryInfoNotification
Returns a new instance of DeliveryInfoNotification.
5 6 7 8 |
# File 'lib/response/mms/DeliveryInfoNotification.rb', line 5 def initialize @callbackData=nil @deliveryInfo=nil end |
Instance Method Details
#getCallbackData ⇒ Object
22 23 24 |
# File 'lib/response/mms/DeliveryInfoNotification.rb', line 22 def getCallbackData @callbackData end |
#getDeliveryInfo ⇒ Object
30 31 32 |
# File 'lib/response/mms/DeliveryInfoNotification.rb', line 30 def getDeliveryInfo @deliveryInfo end |
#initializeJSON(jsondict) ⇒ Object
10 11 12 13 14 15 16 17 18 19 20 |
# File 'lib/response/mms/DeliveryInfoNotification.rb', line 10 def initializeJSON(jsondict) @callbackData=nil if (jsondict!=nil) && (jsondict.has_key?'callbackData') && (jsondict['callbackData']!=nil) @callbackData=jsondict['callbackData'] end @deliveryInfo=nil if (jsondict!=nil) && (jsondict.has_key?'deliveryInfo') && (jsondict['deliveryInfo']!=nil) then @deliveryInfo=DeliveryInfo.new @deliveryInfo.initializeJSON(jsondict['deliveryInfo']) end end |
#setCallbackData(callbackData) ⇒ Object
26 27 28 |
# File 'lib/response/mms/DeliveryInfoNotification.rb', line 26 def setCallbackData(callbackData) @callbackData=callbackData end |
#setDeliveryInfo(deliveryInfo) ⇒ Object
34 35 36 |
# File 'lib/response/mms/DeliveryInfoNotification.rb', line 34 def setDeliveryInfo(deliveryInfo) @deliveryInfo=deliveryInfo end |