/* Options: Date: 2024-12-15 20:41:45 Version: 6.10 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://staging-api.billiecart.com.au //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: CreateBookingRequest.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.*; import java.util.*; import net.servicestack.client.*; public class dtos { @Route(Path="/bookings", Verbs="POST") public static class CreateBookingRequest extends PostOperationTenanted implements IReturn { public String carId = null; public Date startUtc = null; public Date endUtc = null; public String getCarId() { return carId; } public CreateBookingRequest setCarId(String value) { this.carId = value; return this; } public Date getStartUtc() { return startUtc; } public CreateBookingRequest setStartUtc(Date value) { this.startUtc = value; return this; } public Date getEndUtc() { return endUtc; } public CreateBookingRequest setEndUtc(Date value) { this.endUtc = value; return this; } private static Object responseType = CreateBookingResponse.class; public Object getResponseType() { return responseType; } } public static class CreateBookingResponse { public ResponseStatus responseStatus = null; public Booking booking = null; public ResponseStatus getResponseStatus() { return responseStatus; } public CreateBookingResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } public Booking getBooking() { return booking; } public CreateBookingResponse setBooking(Booking value) { this.booking = value; return this; } } public static class PostOperationUnTenanted implements IPost { } public static class PostOperationTenanted extends PostOperationUnTenanted implements ITenantedRequest { public String organisationId = null; public String getOrganisationId() { return organisationId; } public PostOperationTenanted setOrganisationId(String value) { this.organisationId = value; return this; } } public static interface ITenantedRequest { public String organisationId = null; } public static class Booking implements IIdentifiableResource { public Date startUtc = null; public Date endUtc = null; public String borrowerId = null; public String carId = null; public String id = null; public Date getStartUtc() { return startUtc; } public Booking setStartUtc(Date value) { this.startUtc = value; return this; } public Date getEndUtc() { return endUtc; } public Booking setEndUtc(Date value) { this.endUtc = value; return this; } public String getBorrowerId() { return borrowerId; } public Booking setBorrowerId(String value) { this.borrowerId = value; return this; } public String getCarId() { return carId; } public Booking setCarId(String value) { this.carId = value; return this; } public String getId() { return id; } public Booking setId(String value) { this.id = value; return this; } } public static interface IIdentifiableResource { public String id = null; } }