Booking

public final class Booking

Class representation of a booking.

Constructors

Link copied to clipboard
public Booking Booking(@Json(name = "booking_id") String bookingId, @Json(name = "event_id") String eventId, @Json(name = "title") String title, @Json(name = "organizer") BookingOrganizer organizer, @Json(name = "status") BookingStatus status, @Json(name = "description") String description)

Properties

Link copied to clipboard
private final String bookingId

The unique ID of the booking.

Link copied to clipboard
private final String description

The description of the event.

Link copied to clipboard
private final String eventId

The unique ID of the event associated with the booking.

Link copied to clipboard

The participant designated as the organizer of the event.

Link copied to clipboard
private final BookingStatus status

The current status of the booking.

Link copied to clipboard
private final String title

The title of the event.

Functions

Link copied to clipboard
public final String getBookingId()

The unique ID of the booking.

Link copied to clipboard
public final String getDescription()

The description of the event.

Link copied to clipboard
public final String getEventId()

The unique ID of the event associated with the booking.

Link copied to clipboard

The participant designated as the organizer of the event.

Link copied to clipboard
public final BookingStatus getStatus()

The current status of the booking.

Link copied to clipboard
public final String getTitle()

The title of the event.