Class Venue
java.lang.Object
io.micronaut.chatbots.telegram.api.Venue
This object represents a venue.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@NonNull String
@Nullable String
@Nullable String
@Nullable String
@Nullable String
@NonNull Location
@NonNull String
getTitle()
void
setAddress
(@NonNull String address) void
setFoursquareId
(@Nullable String foursquareId) void
setFoursquareType
(@Nullable String foursquareType) void
setGooglePlaceId
(@Nullable String googlePlaceId) void
setGooglePlaceType
(@Nullable String googlePlaceType) void
setLocation
(@NonNull Location location) void
toString()
-
Constructor Details
-
Venue
public Venue()
-
-
Method Details
-
getLocation
- Returns:
- Venue location.
-
setLocation
- Parameters:
location
- Venue location.
-
getTitle
- Returns:
- Name of the venue.
-
setTitle
- Parameters:
title
- Name of the venue.
-
getAddress
- Returns:
- Address of the venue.
-
setAddress
- Parameters:
address
- Address of the venue.
-
getFoursquareId
- Returns:
- Foursquare identifier of the venue.
-
setFoursquareId
- Parameters:
foursquareId
- Foursquare identifier of the venue.
-
getFoursquareType
- Returns:
- Foursquare type of the venue
-
setFoursquareType
- Parameters:
foursquareType
- Foursquare type of the venue
-
getGooglePlaceId
- Returns:
- Google Places identifier of the venue.
-
setGooglePlaceId
- Parameters:
googlePlaceId
- Google Places identifier of the venue.
-
getGooglePlaceType
- Returns:
- Google Places type of the venue.
-
setGooglePlaceType
- Parameters:
googlePlaceType
- Google Places type of the venue.
-
toString
-