public class PlacesApi
extends java.lang.Object
| Constructor and Description | 
|---|
PlacesApi(PlacesService placesService)
Constructs Place API endpoint initialized with corresponding service class. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
CreatePlaceRequestExecutor | 
create(Place place)
Provides executor that can be used to create new place. 
 | 
DeletePlaceRequestExecutor | 
delete(java.util.UUID id)
Provides executor that can be used to delete a venue. 
 | 
PlacesRequestExecutor | 
fetch()
Provides executor that can be used to obtain places. 
 | 
PlaceSchemaImageRequestExecutor | 
schemaImageOf(java.util.UUID id)
Provides executor that can be used to load place's schema image file. 
 | 
UpdatePlaceRequestExecutor | 
update(java.util.UUID id)
Provides executor that can be used to update a place. 
 | 
public PlacesApi(PlacesService placesService)
placesService - the places API service.public PlacesRequestExecutor fetch()
public PlaceSchemaImageRequestExecutor schemaImageOf(java.util.UUID id)
id - the place's identifierpublic CreatePlaceRequestExecutor create(Place place)
place - the place.public UpdatePlaceRequestExecutor update(java.util.UUID id)
id - the place's identifier.public DeletePlaceRequestExecutor delete(java.util.UUID id)
id - the venue's unique identifier.