
com.afrigis.services.AfriGISService Maven / Gradle / Ivy
package com.afrigis.services;
/**
*
* Enumerates the known AfriGIS Services.
*
*
* @author hendrikc
*
*/
public enum AfriGISService {
/**
* Enum for the intiendols.basic.geocode.address.2
service.
*/
geocodeServiceAddress("intiendols.basic.geocode.address.2"),
/**
* Enum for the intiendols.basic.geocode.details.2
service.
*/
geocodeServiceDetails("intiendols.basic.geocode.details.2"),
/**
* Please see https://developers.afrigis.co.za/portfolio/reverse-geocoding/
* .
*/
reverseGeocodeService("reverseGeocode.reverseGeocode"),
/**
* Please see https://developers.afrigis.co.za/portfolio/auto-complete-api/
* .
*/
tokenService("saas.getToken"),
/**
* Please see
* https://developers.afrigis.co.za/portfolio/dropdown-search-api/ .
*/
getProvinces("aghs.getProvinces"),
/**
* Please see
* https://developers.afrigis.co.za/portfolio/dropdown-search-api/ .
*/
getTowns("aghs.getTowns"),
/**
*
* Please see
* https://developers.afrigis.co.za/portfolio/dropdown-search-api/ .
*
*/
getSuburbs("aghs.getSuburbs"),
/**
*
* Enum for the saas.getCredits
call.
*
*/
getCredits("saas.getCredits"),
/**
* Please see https://developers.afrigis.co.za/portfolio/submit-address-api/
* .
*/
dataCorrectionsSubmit("data.corrections.submit");
private final String serviceId;
/**
*
* Outputs the service id.
*
*
* @return the service id of this enum
*/
public String toString() {
return serviceId;
}
AfriGISService(String id) {
serviceId = id;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy