class InboundMessage

Public Class Methods

new() click to toggle source
# File lib/response/mms/InboundMessage.rb, line 5
def initialize
  @dateTime=nil
  @destinationAddress=nil
  @senderAddress=nil
  @inboundMMSMessage=nil
  @messageId=nil
  @resourceURL=nil
end

Public Instance Methods

getDateTime() click to toggle source
# File lib/response/mms/InboundMessage.rb, line 42
def getDateTime
  @dateTime
end
getDestinationAddress() click to toggle source
# File lib/response/mms/InboundMessage.rb, line 50
def getDestinationAddress
  @destinationAddress
end
getInboundMMSMessage() click to toggle source
# File lib/response/mms/InboundMessage.rb, line 66
def getInboundMMSMessage
  @inboundMMSMessage
end
getMessageId() click to toggle source
# File lib/response/mms/InboundMessage.rb, line 74
def getMessageId
  @messageId
end
getResourceURL() click to toggle source
# File lib/response/mms/InboundMessage.rb, line 82
def getResourceURL
  @resourceURL
end
getSenderAddress() click to toggle source
# File lib/response/mms/InboundMessage.rb, line 58
def getSenderAddress
  @senderAddress
end
initializeJSON(jsondict) click to toggle source
# File lib/response/mms/InboundMessage.rb, line 14
def initializeJSON(jsondict)
  @dateTime=nil
  if (jsondict!=nil) && (jsondict.has_key?'dateTime') && (jsondict['dateTime']!=nil)
    @dateTime=jsondict['dateTime']
  end
  @destinationAddress=nil
  if (jsondict!=nil) && (jsondict.has_key?'destinationAddress') && (jsondict['destinationAddress']!=nil)
    @destinationAddress=jsondict['destinationAddress']
  end
  @senderAddress=nil
  if (jsondict!=nil) && (jsondict.has_key?'senderAddress') && (jsondict['senderAddress']!=nil)
    @senderAddress=jsondict['senderAddress']
  end
  @inboundMMSMessage=nil
  if (jsondict!=nil) && (jsondict.has_key?'inboundMMSMessage') && (jsondict['inboundMMSMessage']!=nil) then
    @inboundMMSMessage=InboundMMSMessage.new
    @inboundMMSMessage.initializeJSON(jsondict['inboundMMSMessage'])
  end
  @messageId=nil
  if (jsondict!=nil) && (jsondict.has_key?'messageId') && (jsondict['messageId']!=nil)
    @messageId=jsondict['messageId']
  end
  @resourceURL=nil
  if (jsondict!=nil) && (jsondict.has_key?'resourceURL') && (jsondict['resourceURL']!=nil)
    @resourceURL=jsondict['resourceURL']
  end
end
setDateTime(dateTime) click to toggle source
# File lib/response/mms/InboundMessage.rb, line 46
def setDateTime(dateTime)
  @dateTime=dateTime
end
setDestinationAddress(destinationAddress) click to toggle source
# File lib/response/mms/InboundMessage.rb, line 54
def setDestinationAddress(destinationAddress)
  @destinationAddress=destinationAddress
end
setInboundMMSMessage(inboundMMSMessage) click to toggle source
# File lib/response/mms/InboundMessage.rb, line 70
def setInboundMMSMessage(inboundMMSMessage)
  @inboundMMSMessage=inboundMMSMessage
end
setMessageId(messageId) click to toggle source
# File lib/response/mms/InboundMessage.rb, line 78
def setMessageId(messageId)
  @messageId=messageId
end
setResourceURL(resourceURL) click to toggle source
# File lib/response/mms/InboundMessage.rb, line 86
def setResourceURL(resourceURL)
  @resourceURL=resourceURL
end
setSenderAddress(senderAddress) click to toggle source
# File lib/response/mms/InboundMessage.rb, line 62
def setSenderAddress(senderAddress)
  @senderAddress=senderAddress
end