Class: CallbackReference

Inherits:
Object
  • Object
show all
Defined in:
lib/response/mms/CallbackReference.rb,
lib/response/sms/CallbackReference.rb

Instance Method Summary collapse

Constructor Details

#initializeCallbackReference

Returns a new instance of CallbackReference.


4
5
6
7
# File 'lib/response/mms/CallbackReference.rb', line 4

def initialize
  @notifyURL=nil
  @callbackData=nil
end

Instance Method Details

#getCallbackDataObject


28
29
30
# File 'lib/response/mms/CallbackReference.rb', line 28

def getCallbackData
  @callbackData
end

#getNotifyURLObject


20
21
22
# File 'lib/response/mms/CallbackReference.rb', line 20

def getNotifyURL
  @notifyURL
end

#initializeJSON(jsondict) ⇒ Object


9
10
11
12
13
14
15
16
17
18
# File 'lib/response/mms/CallbackReference.rb', line 9

def initializeJSON(jsondict)
  @notifyURL=nil
  if (jsondict!=nil) && (jsondict.has_key?'notifyURL') && (jsondict['notifyURL']!=nil)
    @notifyURL=jsondict['notifyURL']
  end
  @callbackData=nil
  if (jsondict!=nil) && (jsondict.has_key?'callbackData') && (jsondict['callbackData']!=nil)
    @callbackData=jsondict['callbackData']
  end
end

#setCallbackData(callbackData) ⇒ Object


32
33
34
# File 'lib/response/mms/CallbackReference.rb', line 32

def setCallbackData(callbackData)
  @callbackData=callbackData
end

#setNotifyURL(notifyURL) ⇒ Object


24
25
26
# File 'lib/response/mms/CallbackReference.rb', line 24

def setNotifyURL(notifyURL)
  @notifyURL=notifyURL
end