public static class ListBookingsResponse.Builder extends Object
ListBookingsResponse.| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
ListBookingsResponse.Builder |
bookings(List<Booking> bookings)
Setter for bookings.
|
ListBookingsResponse |
build()
Builds a new
ListBookingsResponse object using the set fields. |
ListBookingsResponse.Builder |
cursor(String cursor)
Setter for cursor.
|
ListBookingsResponse.Builder |
errors(List<Error> errors)
Setter for errors.
|
ListBookingsResponse.Builder |
httpContext(HttpContext httpContext)
Setter for httpContext.
|
public ListBookingsResponse.Builder httpContext(HttpContext httpContext)
httpContext - HttpContext value for httpContext.public ListBookingsResponse.Builder bookings(List<Booking> bookings)
bookings - List of Booking value for bookings.public ListBookingsResponse.Builder cursor(String cursor)
cursor - String value for cursor.public ListBookingsResponse.Builder errors(List<Error> errors)
errors - List of Error value for errors.public ListBookingsResponse build()
ListBookingsResponse object using the set fields.ListBookingsResponseCopyright © 2022. All rights reserved.