class LocationResponse
Public Class Methods
new()
click to toggle source
# File lib/response/location/LocationResponse.rb, line 5 def initialize @httpResponseCode=0 @contentType=nil @location=nil @terminalLocationList=nil end
Public Instance Methods
getContentType()
click to toggle source
# File lib/response/location/LocationResponse.rb, line 20 def getContentType @contentType end
getHTTPResponseCode()
click to toggle source
# File lib/response/location/LocationResponse.rb, line 12 def getHTTPResponseCode @httpResponseCode end
getLocation()
click to toggle source
# File lib/response/location/LocationResponse.rb, line 28 def getLocation @location end
getTerminalLocationList()
click to toggle source
# File lib/response/location/LocationResponse.rb, line 36 def getTerminalLocationList @terminalLocationList end
setContentType(contentType)
click to toggle source
# File lib/response/location/LocationResponse.rb, line 24 def setContentType(contentType) @contentType=contentType end
setHTTPResponseCode(httpResponseCode)
click to toggle source
# File lib/response/location/LocationResponse.rb, line 16 def setHTTPResponseCode(httpResponseCode) @httpResponseCode=httpResponseCode end
setLocation(location)
click to toggle source
# File lib/response/location/LocationResponse.rb, line 32 def setLocation(location) @location=location end
setTerminalLocationList(terminalLocationList)
click to toggle source
# File lib/response/location/LocationResponse.rb, line 40 def setTerminalLocationList(terminalLocationList) @terminalLocationList=terminalLocationList end
setTerminalLocationListJSON(jsondata)
click to toggle source
# File lib/response/location/LocationResponse.rb, line 44 def setTerminalLocationListJSON(jsondata) @terminalLocationList=TerminalLocationList.new @terminalLocationList.initializeJSON(jsondata) end