public abstract class MapboxRouteTileVersions extends com.mapbox.core.MapboxService<RouteTileVersionsResponse,RouteTileVersionsService>
MapboxRouteTiles
API.Modifier and Type | Class and Description |
---|---|
static class |
MapboxRouteTileVersions.Builder
This builder is used to create a new request to the Mapbox Route Tiles API.
|
Modifier | Constructor and Description |
---|---|
protected |
MapboxRouteTileVersions() |
Modifier and Type | Method and Description |
---|---|
protected abstract java.lang.String |
baseUrl() |
static MapboxRouteTileVersions.Builder |
builder()
Build a new
MapboxRouteTileVersions object. |
protected com.google.gson.GsonBuilder |
getGsonBuilder() |
protected retrofit2.Call<RouteTileVersionsResponse> |
initializeCall() |
abstract MapboxRouteTileVersions.Builder |
toBuilder()
Returns the builder which created this instance of
MapboxRouteTileVersions and
allows for modification and building a new route tile versions request with new information. |
protected com.google.gson.GsonBuilder getGsonBuilder()
getGsonBuilder
in class com.mapbox.core.MapboxService<RouteTileVersionsResponse,RouteTileVersionsService>
protected retrofit2.Call<RouteTileVersionsResponse> initializeCall()
initializeCall
in class com.mapbox.core.MapboxService<RouteTileVersionsResponse,RouteTileVersionsService>
protected abstract java.lang.String baseUrl()
baseUrl
in class com.mapbox.core.MapboxService<RouteTileVersionsResponse,RouteTileVersionsService>
public static MapboxRouteTileVersions.Builder builder()
MapboxRouteTileVersions
object.MapboxRouteTileVersions.Builder
object for creating this objectpublic abstract MapboxRouteTileVersions.Builder toBuilder()
MapboxRouteTileVersions
and
allows for modification and building a new route tile versions request with new information.MapboxRouteTileVersions.Builder
with the same variables set as this route tile versions object