class InboundSMSMessage

Public Class Methods

new() click to toggle source
# File lib/response/sms/InboundSMSMessage.rb, line 4
def initialize
  @dateTime=nil
  @destinationAddress=nil
  @senderAddress=nil
  @messageId=nil
  @message=nil
  @resourceURL=nil
end

Public Instance Methods

getDateTime() click to toggle source
# File lib/response/sms/InboundSMSMessage.rb, line 40
def getDateTime
  @dateTime
end
getDestinationAddress() click to toggle source
# File lib/response/sms/InboundSMSMessage.rb, line 48
def getDestinationAddress
  @destinationAddress
end
getMessage() click to toggle source
# File lib/response/sms/InboundSMSMessage.rb, line 72
def getMessage
  @message
end
getMessageId() click to toggle source
# File lib/response/sms/InboundSMSMessage.rb, line 64
def getMessageId
  @messageId
end
getResourceURL() click to toggle source
# File lib/response/sms/InboundSMSMessage.rb, line 80
def getResourceURL
  @resourceURL
end
getSenderAddress() click to toggle source
# File lib/response/sms/InboundSMSMessage.rb, line 56
def getSenderAddress
  @senderAddress
end
initializeJSON(jsondict) click to toggle source
# File lib/response/sms/InboundSMSMessage.rb, line 13
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
  @messageId=nil
  if (jsondict!=nil) && (jsondict.has_key?'messageId') && (jsondict['messageId']!=nil)
    @messageId=jsondict['messageId']
  end
  @message=nil
  if (jsondict!=nil) && (jsondict.has_key?'message') && (jsondict['message']!=nil)
    @message=jsondict['message']
  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/sms/InboundSMSMessage.rb, line 44
def setDateTime(dateTime)
  @dateTime=dateTime
end
setDestinationAddress(destinationAddress) click to toggle source
# File lib/response/sms/InboundSMSMessage.rb, line 52
def setDestinationAddress(destinationAddress)
  @destinationAddress=destinationAddress
end
setMessage(message) click to toggle source
# File lib/response/sms/InboundSMSMessage.rb, line 76
def setMessage(message)
  @message=message
end
setMessageId(messageId) click to toggle source
# File lib/response/sms/InboundSMSMessage.rb, line 68
def setMessageId(messageId)
  @messageId=messageId
end
setResourceURL(resourceURL) click to toggle source
# File lib/response/sms/InboundSMSMessage.rb, line 84
def setResourceURL(resourceURL)
  @resourceURL=resourceURL
end
setSenderAddress(senderAddress) click to toggle source
# File lib/response/sms/InboundSMSMessage.rb, line 60
def setSenderAddress(senderAddress)
  @senderAddress=senderAddress
end