EventReservationEntity


class EventReservationEntity : Entity


An object representing an event reservation entity.

Summary

Nested types

Builder class for EventReservationEntity.

@IntDef(value = [EligibleContentCategory.TYPE_EDUCATION, EligibleContentCategory.TYPE_SPORTS, EligibleContentCategory.TYPE_MOVIES_AND_TV_SHOWS, EligibleContentCategory.TYPE_MUSIC, EligibleContentCategory.TYPE_DIGITAL_GAMES, EligibleContentCategory.TYPE_TRAVEL_AND_LOCAL, EligibleContentCategory.TYPE_HEALTH_AND_FITNESS, EligibleContentCategory.TYPE_DATING])
@Retention(value = RetentionPolicy.SOURCE)
annotation EventReservationEntity.EligibleContentCategory

Possible content categories of the event reservation entity.

Public functions

Uri!

Returns the action uri of the event reservation entity.

(Mutable)List<Badge!>!

Returns the list of badges (image/text) for the event reservation entity. e.g. “Onsale".

(Mutable)List<Int!>!

Returns the content categories of the event reservation entity.

Optional<String!>!

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

Optional<Long!>!

This function is deprecated.

use getLocalizedEndTime instead

Optional<String!>!

Returns the event reservation id of the entity.

Optional<LocalizedTimestamp!>!

Returns the localized timestamp for the event end time.

Optional<Address!>!

Returns the location/address of the event reservation entity.

(Mutable)List<Image!>!

Returns the poster image of the event reservation entity.

Optional<Price!>!

Returns the price of the event reservation entity.

Optional<String!>!

Returns the price callout for the event reservation entity. e.g. “Limited offer"

Optional<Rating!>!

Returns the rating of the event reservation entity.

Optional<String!>!

Returns the reservation ID of the entity.

Optional<ServiceProvider!>!

Returns the service provider of the event reservation entity.

(Mutable)List<String!>!

Returns the list of subtitles for the event reservation entity.

String!

Returns the name/title of the event reservation Entity.

Public properties

Int
LocalizedTimestamp!
Long!

This property is deprecated.

Use localizedStartTime instead.

Public functions

getActionUri

fun getActionUri(): Uri!

Returns the action uri of the event reservation entity.

getBadgeList

fun getBadgeList(): (Mutable)List<Badge!>!

Returns the list of badges (image/text) for the event reservation entity. e.g. “Onsale".

getContentCategoryList

fun getContentCategoryList(): (Mutable)List<Int!>!

Returns the content categories of the event reservation entity.

getDescription

fun getDescription(): Optional<String!>!

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

getEndTime

fun getEndTime(): Optional<Long!>!

Returns the epoch timestamp (in milliseconds) for the event end time.

getEntityId

fun getEntityId(): Optional<String!>!

Returns the event reservation id of the entity.

getLocalizedEndTime

fun getLocalizedEndTime(): Optional<LocalizedTimestamp!>!

Returns the localized timestamp for the event end time.

getLocation

fun getLocation(): Optional<Address!>!

Returns the location/address of the event reservation entity.

getPosterImages

fun getPosterImages(): (Mutable)List<Image!>!

Returns the poster image of the event reservation entity.

getPrice

fun getPrice(): Optional<Price!>!

Returns the price of the event reservation entity.

getPriceCallout

fun getPriceCallout(): Optional<String!>!

Returns the price callout for the event reservation entity. e.g. “Limited offer"

getRating

fun getRating(): Optional<Rating!>!

Returns the rating of the event reservation entity.

getReservationId

fun getReservationId(): Optional<String!>!

Returns the reservation ID of the entity.

getServiceProvider

fun getServiceProvider(): Optional<ServiceProvider!>!

Returns the service provider of the event reservation entity.

getSubtitleList

fun getSubtitleList(): (Mutable)List<String!>!

Returns the list of subtitles for the event reservation entity.

getTitle

fun getTitle(): String!

Returns the name/title of the event reservation Entity.

Public properties

eventMode

@EventMode
val eventModeInt

localizedStartTime

val localizedStartTimeLocalizedTimestamp!

startTime

val startTimeLong!