Class: LocationResponse

Inherits:
Object
  • Object
show all
Defined in:
lib/response/location/LocationResponse.rb

Instance Method Summary collapse

Constructor Details

#initializeLocationResponse

Returns a new instance of LocationResponse.



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

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

Instance Method Details

#getContentTypeObject



20
21
22
# File 'lib/response/location/LocationResponse.rb', line 20

def getContentType
  @contentType
end

#getHTTPResponseCodeObject



12
13
14
# File 'lib/response/location/LocationResponse.rb', line 12

def getHTTPResponseCode
  @httpResponseCode
end

#getLocationObject



28
29
30
# File 'lib/response/location/LocationResponse.rb', line 28

def getLocation
  @location
end

#getTerminalLocationListObject



36
37
38
# File 'lib/response/location/LocationResponse.rb', line 36

def getTerminalLocationList
  @terminalLocationList
end

#setContentType(contentType) ⇒ Object



24
25
26
# File 'lib/response/location/LocationResponse.rb', line 24

def setContentType(contentType)
  @contentType=contentType
end

#setHTTPResponseCode(httpResponseCode) ⇒ Object



16
17
18
# File 'lib/response/location/LocationResponse.rb', line 16

def setHTTPResponseCode(httpResponseCode)
  @httpResponseCode=httpResponseCode
end

#setLocation(location) ⇒ Object



32
33
34
# File 'lib/response/location/LocationResponse.rb', line 32

def setLocation(location)
  @location=location
end

#setTerminalLocationList(terminalLocationList) ⇒ Object



40
41
42
# File 'lib/response/location/LocationResponse.rb', line 40

def setTerminalLocationList(terminalLocationList)
  @terminalLocationList=terminalLocationList
end

#setTerminalLocationListJSON(jsondata) ⇒ Object



44
45
46
47
# File 'lib/response/location/LocationResponse.rb', line 44

def setTerminalLocationListJSON(jsondata)
  @terminalLocationList=TerminalLocationList.new
  @terminalLocationList.initializeJSON(jsondata)
end