public class ApiManager extends Object
| Constructor and Description |
|---|
ApiManager(ApiConfiguration config)
Creates a new
ApiManager instance using the provided
ApiConfiguration. |
ApiManager(String apiKey)
Creates a new
ApiManager instance using the provided
apiKey for building an ApiConfiguration with default
values. |
| Modifier and Type | Method and Description |
|---|---|
ActionService |
actionService() |
ApplicationService |
applicationService()
Returns a preconfigures EVRYTHNG service for accessing the
Applications
API.
|
AuthService |
authService() |
BatchService |
batchService() |
protected void |
checkConfiguration(ApiConfiguration apiConfiguration)
Checks that the provided
ApiConfiguration is valid. |
CollectionService |
collectionService()
Returns a preconfigured EVRYTHNG service for accessing the Collections
API.
|
protected void |
createActionService() |
protected void |
createEvrythngJacksonModule() |
protected void |
createPlaceService() |
protected void |
createProductService() |
protected void |
createThngService() |
protected void |
createUrlBindingService() |
FileService |
fileService()
Deprecated.
newer clients should use
filesService() instead. |
FilesService |
filesService()
Returns an instance of
FilesService, that is a wrapper around the newer Files API. |
ApiConfiguration |
getConfig() |
protected EvrythngJacksonModule |
getEvrythngJacksonModule() |
JobsService |
jobs() |
void |
onBuilderCreated(EvrythngApiBuilder.Builder<?> builder) |
PlaceService |
placeService() |
ProductService |
productService()
Returns a preconfigured EVRYTHNG service for accessing the Products
API.
|
ProjectService |
projectService() |
ReactorSchedulesService |
reactorSchedulesService()
Retrieves a preconfigured EVRYTHNG service for accessing reactor schedules API.
|
RedirectorService |
redirectorService() |
ScanService |
scanThngService()
Returns a preconfigured EVRYTHNG service for accessing the ScanThng API.
|
protected void |
setEvrythngJacksonModule(EvrythngJacksonModule evrythngJacksonModule) |
ThngService |
thngService()
Returns a preconfigured EVRYTHNG service for accessing the Thngs API.
|
TimeService |
timeService() |
UrlBindingService |
urlBindingService() |
public ApiManager(ApiConfiguration config)
ApiManager instance using the provided
ApiConfiguration.public ApiManager(String apiKey)
ApiManager instance using the provided
apiKey for building an ApiConfiguration with default
values.apiKey - the API key for authorizationprotected void checkConfiguration(ApiConfiguration apiConfiguration)
ApiConfiguration is valid.apiConfiguration - the ApiConfiguration to be verifiedprotected void createThngService()
public ThngService thngService()
ThngServicepublic CollectionService collectionService()
CollectionServiceprotected void createProductService()
public ProductService productService()
ProductServicepublic ApplicationService applicationService()
ApplicationServicepublic AuthService authService()
public TimeService timeService()
public RedirectorService redirectorService()
public JobsService jobs()
public BatchService batchService()
public ApiConfiguration getConfig()
public ScanService scanThngService()
ScanServicepublic void onBuilderCreated(EvrythngApiBuilder.Builder<?> builder)
protected void createPlaceService()
public PlaceService placeService()
public ProjectService projectService()
protected void createActionService()
public ActionService actionService()
@Deprecated public FileService fileService()
filesService() instead.FileService, that is a wrapper around the older Files API.FileService.public FilesService filesService()
FilesService, that is a wrapper around the newer Files API.
Use this method instead of fileService().FilesService.public ReactorSchedulesService reactorSchedulesService()
ReactorSchedulesService.protected void createEvrythngJacksonModule()
protected void setEvrythngJacksonModule(EvrythngJacksonModule evrythngJacksonModule)
protected EvrythngJacksonModule getEvrythngJacksonModule()
protected void createUrlBindingService()
public UrlBindingService urlBindingService()
Copyright © 2016 EVRYTHNG Ltd London / Zurich. All rights reserved.