/* Options: Date: 2026-10-21 23:45:26 Version: 5.140 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.clubmanagercentral.com //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: ZapierBookingRequest.* //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="/zapier/v1/booking", Verbs="POST") public static class ZapierBookingRequest implements IReturn { public String Title = null; public String Forenames = null; public String Surname = null; public String EmailAddress = null; public String MobilePhone = null; public String HomePhone = null; public Date DateOfBirth = null; public ArrayList Tags = null; public Boolean OptInEmail = null; public Boolean OptInSms = null; public Integer BookingTemplateId = null; public String Name = null; public String StartDate = null; public Integer Duration = null; public String EndDate = null; public Integer StaffId = null; public String StaffName = null; public Integer FacilityId = null; public Integer MaxAttendees = null; public String Notes = null; public Boolean AddToExisting = null; public String getTitle() { return Title; } public ZapierBookingRequest setTitle(String value) { this.Title = value; return this; } public String getForenames() { return Forenames; } public ZapierBookingRequest setForenames(String value) { this.Forenames = value; return this; } public String getSurname() { return Surname; } public ZapierBookingRequest setSurname(String value) { this.Surname = value; return this; } public String getEmailAddress() { return EmailAddress; } public ZapierBookingRequest setEmailAddress(String value) { this.EmailAddress = value; return this; } public String getMobilePhone() { return MobilePhone; } public ZapierBookingRequest setMobilePhone(String value) { this.MobilePhone = value; return this; } public String getHomePhone() { return HomePhone; } public ZapierBookingRequest setHomePhone(String value) { this.HomePhone = value; return this; } public Date getDateOfBirth() { return DateOfBirth; } public ZapierBookingRequest setDateOfBirth(Date value) { this.DateOfBirth = value; return this; } public ArrayList getTags() { return Tags; } public ZapierBookingRequest setTags(ArrayList value) { this.Tags = value; return this; } public Boolean isOptInEmail() { return OptInEmail; } public ZapierBookingRequest setOptInEmail(Boolean value) { this.OptInEmail = value; return this; } public Boolean isOptInSms() { return OptInSms; } public ZapierBookingRequest setOptInSms(Boolean value) { this.OptInSms = value; return this; } public Integer getBookingTemplateId() { return BookingTemplateId; } public ZapierBookingRequest setBookingTemplateId(Integer value) { this.BookingTemplateId = value; return this; } public String getName() { return Name; } public ZapierBookingRequest setName(String value) { this.Name = value; return this; } public String getStartDate() { return StartDate; } public ZapierBookingRequest setStartDate(String value) { this.StartDate = value; return this; } public Integer getDuration() { return Duration; } public ZapierBookingRequest setDuration(Integer value) { this.Duration = value; return this; } public String getEndDate() { return EndDate; } public ZapierBookingRequest setEndDate(String value) { this.EndDate = value; return this; } public Integer getStaffId() { return StaffId; } public ZapierBookingRequest setStaffId(Integer value) { this.StaffId = value; return this; } public String getStaffName() { return StaffName; } public ZapierBookingRequest setStaffName(String value) { this.StaffName = value; return this; } public Integer getFacilityId() { return FacilityId; } public ZapierBookingRequest setFacilityId(Integer value) { this.FacilityId = value; return this; } public Integer getMaxAttendees() { return MaxAttendees; } public ZapierBookingRequest setMaxAttendees(Integer value) { this.MaxAttendees = value; return this; } public String getNotes() { return Notes; } public ZapierBookingRequest setNotes(String value) { this.Notes = value; return this; } public Boolean isAddToExisting() { return AddToExisting; } public ZapierBookingRequest setAddToExisting(Boolean value) { this.AddToExisting = value; return this; } private static Object responseType = ZapierBookingResponse.class; public Object getResponseType() { return responseType; } } public static class ZapierBookingResponse { public Integer MemberId = null; public UUID MemberKey = null; public Boolean MemberCreated = null; public Integer BookingId = null; public Boolean BookingCreated = null; public Integer BookingAttendeeId = null; public String Name = null; public Date StartDate = null; public Date EndDate = null; public Integer StaffId = null; public String StaffName = null; public Boolean InstructorMatched = null; public Integer getMemberId() { return MemberId; } public ZapierBookingResponse setMemberId(Integer value) { this.MemberId = value; return this; } public UUID getMemberKey() { return MemberKey; } public ZapierBookingResponse setMemberKey(UUID value) { this.MemberKey = value; return this; } public Boolean isMemberCreated() { return MemberCreated; } public ZapierBookingResponse setMemberCreated(Boolean value) { this.MemberCreated = value; return this; } public Integer getBookingId() { return BookingId; } public ZapierBookingResponse setBookingId(Integer value) { this.BookingId = value; return this; } public Boolean isBookingCreated() { return BookingCreated; } public ZapierBookingResponse setBookingCreated(Boolean value) { this.BookingCreated = value; return this; } public Integer getBookingAttendeeId() { return BookingAttendeeId; } public ZapierBookingResponse setBookingAttendeeId(Integer value) { this.BookingAttendeeId = value; return this; } public String getName() { return Name; } public ZapierBookingResponse setName(String value) { this.Name = value; return this; } public Date getStartDate() { return StartDate; } public ZapierBookingResponse setStartDate(Date value) { this.StartDate = value; return this; } public Date getEndDate() { return EndDate; } public ZapierBookingResponse setEndDate(Date value) { this.EndDate = value; return this; } public Integer getStaffId() { return StaffId; } public ZapierBookingResponse setStaffId(Integer value) { this.StaffId = value; return this; } public String getStaffName() { return StaffName; } public ZapierBookingResponse setStaffName(String value) { this.StaffName = value; return this; } public Boolean isInstructorMatched() { return InstructorMatched; } public ZapierBookingResponse setInstructorMatched(Boolean value) { this.InstructorMatched = value; return this; } } }