Class: RetrieveMMSMessageResponse

Inherits:
Object
  • Object
show all
Defined in:
lib/response/mms/RetrieveMMSMessageResponse.rb

Instance Method Summary collapse

Constructor Details

#initializeRetrieveMMSMessageResponse

Returns a new instance of RetrieveMMSMessageResponse.

[View source]

5
6
7
8
9
10
# File 'lib/response/mms/RetrieveMMSMessageResponse.rb', line 5

def initialize
  @httpResponseCode=0
  @contentType=nil
  @location=nil
  @inboundMessage=nil
end

Instance Method Details

#getAttachmentObject

[View source]

48
49
50
# File 'lib/response/mms/RetrieveMMSMessageResponse.rb', line 48

def getAttachment
  @attachment
end

#getContentTypeObject

[View source]

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

def getContentType
  @contentType
end

#getHTTPResponseCodeObject

[View source]

12
13
14
# File 'lib/response/mms/RetrieveMMSMessageResponse.rb', line 12

def getHTTPResponseCode
  @httpResponseCode
end

#getInboundMessageObject

[View source]

36
37
38
# File 'lib/response/mms/RetrieveMMSMessageResponse.rb', line 36

def getInboundMessage
  @inboundMessage
end

#getLocationObject

[View source]

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

def getLocation
  @location
end

#setAttachment(attachment) ⇒ Object

[View source]

52
53
54
# File 'lib/response/mms/RetrieveMMSMessageResponse.rb', line 52

def setAttachment(attachment)
  @attachment=attachment
end

#setContentType(contentType) ⇒ Object

[View source]

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

def setContentType(contentType)
  @contentType=contentType
end

#setHTTPResponseCode(httpResponseCode) ⇒ Object

[View source]

16
17
18
# File 'lib/response/mms/RetrieveMMSMessageResponse.rb', line 16

def setHTTPResponseCode(httpResponseCode)
  @httpResponseCode=httpResponseCode
end

#setInboundMessage(inboundMessage) ⇒ Object

[View source]

40
41
42
# File 'lib/response/mms/RetrieveMMSMessageResponse.rb', line 40

def setInboundMessage(inboundMessage)
  @inboundMessage=inboundMessage
end

#setInboundMessageJSON(jsondata) ⇒ Object

[View source]

44
45
46
47
# File 'lib/response/mms/RetrieveMMSMessageResponse.rb', line 44

def setInboundMessageJSON(jsondata)
  @inboundMessage=InboundMessage.new
  @inboundMessage.initializeJSON(jsondata)
end

#setLocation(location) ⇒ Object

[View source]

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

def setLocation(location)
  @location=location
end