public final class IZITravel
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
IZITravel.Builder
A helper class for creating
IZITravel instances. |
static class |
IZITravel.Error
An error returned by the API.
|
static class |
IZITravel.Server |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
API_VERSION
The default API version.
|
| Modifier and Type | Method and Description |
|---|---|
CityService |
cityService() |
CountryService |
countryService() |
FeaturedService |
featuredService() |
LanguageService |
languageService() |
MediaHelper |
mediaHelper() |
MtgObjectService |
mtgObjectService() |
IZITravel.Error |
parseError(ResponseBody errorBody)
Deserialize an error response body to
Error. |
PublisherService |
publisherService() |
ReviewService |
reviewService() |
SearchService |
searchService() |
static IZITravel |
with(java.lang.String apiKey)
The default
IZITravel instance. |
public static final java.lang.String API_VERSION
public CityService cityService()
public CountryService countryService()
public FeaturedService featuredService()
public LanguageService languageService()
public MtgObjectService mtgObjectService()
public PublisherService publisherService()
public ReviewService reviewService()
public SearchService searchService()
public MediaHelper mediaHelper()
public static IZITravel with(java.lang.String apiKey)
IZITravel instance.
This instance is automatically initialized with defaults that are suitable to most implementations.
API_VERSIONIZITravel.Server.ProductionIf these settings do not meet the requirements of your application you can construct
your own
with full control over the configuration by using IZITravel.Builder to create a
IZITravel instance.
public IZITravel.Error parseError(ResponseBody errorBody) throws java.io.IOException
Error.java.io.IOException