class TerminalLocation

Public Class Methods

new() click to toggle source
# File lib/response/location/TerminalLocation.rb, line 6
def initialize
  @address=nil
  @currentLocation=nil
  @errorInformation=nil
  @locationRetrievalStatus=nil
end

Public Instance Methods

getAddress() click to toggle source
# File lib/response/location/TerminalLocation.rb, line 34
def getAddress
  @address
end
getCurrentLocation() click to toggle source
# File lib/response/location/TerminalLocation.rb, line 42
def getCurrentLocation
  @currentLocation
end
getErrorInformation() click to toggle source
# File lib/response/location/TerminalLocation.rb, line 50
def getErrorInformation
  @errorInformation
end
getLocationRetrievalStatus() click to toggle source
# File lib/response/location/TerminalLocation.rb, line 58
def getLocationRetrievalStatus
  @locationRetrievalStatus
end
initializeJSON(jsondict) click to toggle source
# File lib/response/location/TerminalLocation.rb, line 13
def initializeJSON(jsondict)
  @address=nil
  if (jsondict!=nil) && (jsondict.has_key?'address') && (jsondict['address']!=nil)
    @address=jsondict['address']
  end
  @currentLocation=nil
  if (jsondict!=nil) && (jsondict.has_key?'currentLocation') && (jsondict['currentLocation']!=nil) then
    @currentLocation=CurrentLocation.new
    @currentLocation.initializeJSON(jsondict['currentLocation'])
  end
  @errorInformation=nil
  if (jsondict!=nil) && (jsondict.has_key?'errorInformation') && (jsondict['errorInformation']!=nil) then
    @errorInformation=ErrorInformation.new
    @errorInformation.initializeJSON(jsondict['errorInformation'])
  end
  @locationRetrievalStatus=nil
  if (jsondict!=nil) && (jsondict.has_key?'locationRetrievalStatus') && (jsondict['locationRetrievalStatus']!=nil)
    @locationRetrievalStatus=jsondict['locationRetrievalStatus']
  end
end
setAddress(address) click to toggle source
# File lib/response/location/TerminalLocation.rb, line 38
def setAddress(address)
  @address=address
end
setCurrentLocation(currentLocation) click to toggle source
# File lib/response/location/TerminalLocation.rb, line 46
def setCurrentLocation(currentLocation)
  @currentLocation=currentLocation
end
setErrorInformation(errorInformation) click to toggle source
# File lib/response/location/TerminalLocation.rb, line 54
def setErrorInformation(errorInformation)
  @errorInformation=errorInformation
end
setLocationRetrievalStatus(locationRetrievalStatus) click to toggle source
# File lib/response/location/TerminalLocation.rb, line 62
def setLocationRetrievalStatus(locationRetrievalStatus)
  @locationRetrievalStatus=locationRetrievalStatus
end