public class CancelBookingResponse extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
CancelBookingResponse.Builder
Class to build instances of
CancelBookingResponse. |
| Constructor and Description |
|---|
CancelBookingResponse(Booking booking,
List<Error> errors)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Booking |
getBooking()
Getter for Booking.
|
HttpContext |
getContext() |
List<Error> |
getErrors()
Getter for Errors.
|
int |
hashCode() |
CancelBookingResponse.Builder |
toBuilder()
Builds a new
CancelBookingResponse.Builder object. |
String |
toString()
Converts this CancelBookingResponse into string format.
|
public HttpContext getContext()
public Booking getBooking()
public List<Error> getErrors()
public String toString()
public CancelBookingResponse.Builder toBuilder()
CancelBookingResponse.Builder object.
Creates the instance with the state of the current model.CancelBookingResponse.Builder objectCopyright © 2022. All rights reserved.