public class CancelBookingRequest extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
CancelBookingRequest.Builder
Class to build instances of
CancelBookingRequest. |
| Modifier | Constructor and Description |
|---|---|
protected |
CancelBookingRequest(io.apimatic.core.types.OptionalNullable<String> idempotencyKey,
io.apimatic.core.types.OptionalNullable<Integer> bookingVersion)
Internal initialization constructor.
|
|
CancelBookingRequest(String idempotencyKey,
Integer bookingVersion)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Integer |
getBookingVersion()
Getter for BookingVersion.
|
String |
getIdempotencyKey()
Getter for IdempotencyKey.
|
int |
hashCode() |
protected io.apimatic.core.types.OptionalNullable<Integer> |
internalGetBookingVersion()
Internal Getter for BookingVersion.
|
protected io.apimatic.core.types.OptionalNullable<String> |
internalGetIdempotencyKey()
Internal Getter for IdempotencyKey.
|
CancelBookingRequest.Builder |
toBuilder()
Builds a new
CancelBookingRequest.Builder object. |
String |
toString()
Converts this CancelBookingRequest into string format.
|
public CancelBookingRequest(String idempotencyKey, Integer bookingVersion)
idempotencyKey - String value for idempotencyKey.bookingVersion - Integer value for bookingVersion.protected io.apimatic.core.types.OptionalNullable<String> internalGetIdempotencyKey()
public String getIdempotencyKey()
protected io.apimatic.core.types.OptionalNullable<Integer> internalGetBookingVersion()
public Integer getBookingVersion()
public String toString()
public CancelBookingRequest.Builder toBuilder()
CancelBookingRequest.Builder object.
Creates the instance with the state of the current model.CancelBookingRequest.Builder objectCopyright © 2023. All rights reserved.