Class GoogleScrapeRequest
java.lang.Object
org.localify.data.queue.dto.google.GoogleScrapeRequest
- All Implemented Interfaces:
Serializable
Deprecated.
This class is deprecated and may be removed in a future version.
Represents a request to scrape Google for events in a city.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Constructs a new GoogleScrapeRequest.GoogleScrapeRequest(City city, int numEvents, @NotNull String cityDataSourceId) Deprecated.Constructs a new GoogleScrapeRequest. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Gets the Localify data source ID.Deprecated.Gets the Localify ID.Deprecated.Gets the location.intDeprecated.Gets the number of events.Deprecated.Gets the scrape ID.
-
Constructor Details
-
GoogleScrapeRequest
public GoogleScrapeRequest()Deprecated.Constructs a new GoogleScrapeRequest. -
GoogleScrapeRequest
Deprecated.Constructs a new GoogleScrapeRequest.- Parameters:
city- The city to scrape.numEvents- The number of events to scrape.cityDataSourceId- The data source ID of the city.
-
-
Method Details
-
getScrapeId
Deprecated.Gets the scrape ID.- Returns:
- The scrape ID.
-
getLocalifyId
Deprecated.Gets the Localify ID.- Returns:
- The Localify ID.
-
getLocalifyDataSourceId
Deprecated.Gets the Localify data source ID.- Returns:
- The Localify data source ID.
-
getLocation
Deprecated.Gets the location.- Returns:
- The location.
-
getNumEvents
public int getNumEvents()Deprecated.Gets the number of events.- Returns:
- The number of events.
-