RestaurantReservationEntity


public final class RestaurantReservationEntity extends Entity


An object representing a restaurant reservation entity.

Summary

Nested types

Builder class for RestaurantReservationEntity.

Public methods

Uri

Returns the action uri of the entity.

Optional<String>

Returns the description (typically a single paragraph of text) for the Reservation entity.

Optional<String>

Returns the reservation id of the entity.

LocalizedTimestamp

Returns the localized timestamp of the start time for the restaurant reservation entity.

Address

Returns the location of the restaurant.

List<Image>

Returns the poster image of the entity.

Optional<String>

Returns the reservation ID of the entity.

long

This method is deprecated.

use getLocalizedReservationStartTime instead

List<String>

Returns the list of subtitles for the Reservation entity.

Optional<Integer>

Returns the table size (i.e., the number of members) for the restaurant reservation entity.

String

Returns the name/title of the Reservation Entity.

Public fields

localizedReservationStartTime

public final LocalizedTimestamp localizedReservationStartTime

location

public final Address location

Public methods

getActionUri

public Uri getActionUri()

Returns the action uri of the entity.

getDescription

public Optional<StringgetDescription()

Returns the description (typically a single paragraph of text) for the Reservation entity.

getEntityId

public Optional<StringgetEntityId()

Returns the reservation id of the entity.

getLocalizedReservationStartTime

public LocalizedTimestamp getLocalizedReservationStartTime()

Returns the localized timestamp of the start time for the restaurant reservation entity.

getLocation

public Address getLocation()

Returns the location of the restaurant.

getPosterImages

public List<ImagegetPosterImages()

Returns the poster image of the entity.

getReservationId

public Optional<StringgetReservationId()

Returns the reservation ID of the entity.

getReservationStartTime

public long getReservationStartTime()

Returns the epoch timestamp (in milliseconds) of the start time for the restaurant reservation entity.

getSubtitleList

public List<StringgetSubtitleList()

Returns the list of subtitles for the Reservation entity.

getTableSize

public Optional<IntegergetTableSize()

Returns the table size (i.e., the number of members) for the restaurant reservation entity.

getTitle

public String getTitle()

Returns the name/title of the Reservation Entity.