squareup/models/
cancel_booking_request.rs

1//! Request struct for the Cancel Booking API
2
3use serde::Serialize;
4
5/// This is a model class for CancelBookingRequest type.
6#[derive(Clone, Debug, Default, Eq, PartialEq, Serialize)]
7pub struct CancelBookingRequest {
8    /// A unique key to make this request an idempotent operation.
9    /// Max Length 255
10    pub idempotency_key: Option<String>,
11    /// The revision number for the booking used for optimistic concurrency.
12    pub booking_version: Option<i32>,
13}