com.geotab.api.WebMethods Maven / Gradle / Ivy
package com.geotab.api;
import static com.geotab.api.Api.method;
import com.geotab.api.Api.MethodDescriptor;
import com.geotab.http.request.param.AuthenticatedParameters;
import com.geotab.http.request.param.GetAddressesParameters;
import com.geotab.http.request.param.GetCoordinatesParameters;
import com.geotab.http.request.param.GetDaylightSavingRulesParameters;
import com.geotab.http.request.param.GetDirectionsParameters;
import com.geotab.http.request.param.GetRoadMaxSpeedsParameters;
import com.geotab.http.request.param.OptimizeWaypointsParameters;
import com.geotab.model.Dictionary;
import com.geotab.model.ReverseGeocodeAddress;
import com.geotab.model.TimeZoneInfo;
import com.geotab.model.TimeZoneInfoWithRules;
import com.geotab.model.VersionInformation;
import com.geotab.model.coordinate.Coordinate;
import com.geotab.model.geographical.Directions;
import com.geotab.model.geographical.Waypoint;
import java.time.Instant;
import java.util.List;
/**
* List of WebMethods type-safe descriptors.
*
* WARNING: Experimental API.
*/
public interface WebMethods {
//@formatter:off
MethodDescriptor> GetRoadMaxSpeeds = method("GetRoadMaxSpeeds", Dictionary.class, Instant.class, Float.class);
MethodDescriptor GetVersion = method("GetVersion", String.class);
MethodDescriptor GetVersionInformation = method("GetVersionInformation", VersionInformation.class);
MethodDescriptor> GetTimeZones = method("GetTimeZones", List.class, TimeZoneInfo.class);
MethodDescriptor> GetAddresses = method("GetAddresses", List.class, ReverseGeocodeAddress.class);
MethodDescriptor> GetCoordinates = method("GetCoordinates", List.class, Coordinate.class);
MethodDescriptor> OptimizeWaypoints = method("OptimizeWaypoints", List.class, Waypoint.class);
MethodDescriptor GetDirections = method("GetDirections", Directions.class);
MethodDescriptor GetDaylightSavingRules = method("GetDaylightSavingRules", TimeZoneInfoWithRules.class);
//@formatter:on
}