/* Options: Date: 2024-07-03 14:17:39 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bokamera.se //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: HomepageWidgetSettingsQuery.* //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="/homepage/widget/settings", Verbs="GET") public static class HomepageWidgetSettingsQuery implements IReturn, ICompany, ICompanyRequest { /** * The company id, if empty will use the company id for the user you are logged in with. */ @ApiMember(Description="The company id, if empty will use the company id for the user you are logged in with.") public UUID CompanyId = null; /** * The homepage sitepath. */ @ApiMember(Description="The homepage sitepath.") public String SitePath = null; /** * If you want to include what service layout options to select from */ @ApiMember(Description="If you want to include what service layout options to select from") public Boolean IncludeServiceLayoutOptions = null; /** * If you want to include what time layout options to select from */ @ApiMember(Description="If you want to include what time layout options to select from") public Boolean IncludeTimeLayoutOptions = null; /** * If you want to include what booking layout options to select from */ @ApiMember(Description="If you want to include what booking layout options to select from") public Boolean IncludeBookingLayoutOptions = null; /** * If you want to include what booking method options to select from */ @ApiMember(Description="If you want to include what booking method options to select from") public Boolean IncludeBookingMethodOptions = null; public UUID getCompanyId() { return CompanyId; } public HomepageWidgetSettingsQuery setCompanyId(UUID value) { this.CompanyId = value; return this; } public String getSitePath() { return SitePath; } public HomepageWidgetSettingsQuery setSitePath(String value) { this.SitePath = value; return this; } public Boolean isIncludeServiceLayoutOptions() { return IncludeServiceLayoutOptions; } public HomepageWidgetSettingsQuery setIncludeServiceLayoutOptions(Boolean value) { this.IncludeServiceLayoutOptions = value; return this; } public Boolean isIncludeTimeLayoutOptions() { return IncludeTimeLayoutOptions; } public HomepageWidgetSettingsQuery setIncludeTimeLayoutOptions(Boolean value) { this.IncludeTimeLayoutOptions = value; return this; } public Boolean isIncludeBookingLayoutOptions() { return IncludeBookingLayoutOptions; } public HomepageWidgetSettingsQuery setIncludeBookingLayoutOptions(Boolean value) { this.IncludeBookingLayoutOptions = value; return this; } public Boolean isIncludeBookingMethodOptions() { return IncludeBookingMethodOptions; } public HomepageWidgetSettingsQuery setIncludeBookingMethodOptions(Boolean value) { this.IncludeBookingMethodOptions = value; return this; } private static Object responseType = HomepageWidgetSettingsQueryResponse.class; public Object getResponseType() { return responseType; } } public static class HomepageWidgetSettingsQueryResponse { /** * The company id. */ @ApiMember(Description="The company id.") public UUID CompanyId = null; /** * The service layouts id. */ @ApiMember(Description="The service layouts id.") public Integer ServiceLayoutId = null; /** * The time layouts id. */ @ApiMember(Description="The time layouts id.") public Integer TimeLayoutId = null; /** * The booking layouts id. */ @ApiMember(Description="The booking layouts id.") public Integer BookingLayoutId = null; /** * The primary color of the booking widget. */ @ApiMember(Description="The primary color of the booking widget.") public String PrimaryColor = null; /** * If you should show the service image in the booking widget. */ @ApiMember(Description="If you should show the service image in the booking widget.") public Boolean ShowServiceImage = null; /** * If you should show the rebate code field in the booking widget. */ @ApiMember(Description="If you should show the rebate code field in the booking widget.") public Boolean ShowRebateCodeField = null; /** * If you should show the next available time in the booking widget. */ @ApiMember(Description="If you should show the next available time in the booking widget.") public Boolean ShowNextAvailableTime = null; /** * If you should show the create account option. */ @ApiMember(Description="If you should show the create account option.") public Boolean EnableCreateAccount = null; /** * If you should show the login to account option. */ @ApiMember(Description="If you should show the login to account option.") public Boolean EnableLogin = null; /** * If you should show the facebook login to account option. */ @ApiMember(Description="If you should show the facebook login to account option.") public Boolean EnableFacebookLogin = null; /** * If you should show the direct booking option. This enables customer to book with entering contact information. */ @ApiMember(Description="If you should show the direct booking option. This enables customer to book with entering contact information.") public Boolean EnableDirectBooking = null; /** * If the site should have dark theme or not. */ @ApiMember(Description="If the site should have dark theme or not.") public Boolean DarkTheme = null; /** * If you should show the end time in the booking widget. */ @ApiMember(Description="If you should show the end time in the booking widget.") public Boolean ShowEndTime = null; /** * What text to show on booked time slots. Default text is Booked */ @ApiMember(Description="What text to show on booked time slots. Default text is Booked") public String BookedTimeSlotText = null; public ArrayList ServiceLayoutOptions = null; public ArrayList TimeLayoutOptions = null; public ArrayList BookingLayoutOptions = null; public ArrayList BookingMethodOptions = null; public UUID getCompanyId() { return CompanyId; } public HomepageWidgetSettingsQueryResponse setCompanyId(UUID value) { this.CompanyId = value; return this; } public Integer getServiceLayoutId() { return ServiceLayoutId; } public HomepageWidgetSettingsQueryResponse setServiceLayoutId(Integer value) { this.ServiceLayoutId = value; return this; } public Integer getTimeLayoutId() { return TimeLayoutId; } public HomepageWidgetSettingsQueryResponse setTimeLayoutId(Integer value) { this.TimeLayoutId = value; return this; } public Integer getBookingLayoutId() { return BookingLayoutId; } public HomepageWidgetSettingsQueryResponse setBookingLayoutId(Integer value) { this.BookingLayoutId = value; return this; } public String getPrimaryColor() { return PrimaryColor; } public HomepageWidgetSettingsQueryResponse setPrimaryColor(String value) { this.PrimaryColor = value; return this; } public Boolean isShowServiceImage() { return ShowServiceImage; } public HomepageWidgetSettingsQueryResponse setShowServiceImage(Boolean value) { this.ShowServiceImage = value; return this; } public Boolean isShowRebateCodeField() { return ShowRebateCodeField; } public HomepageWidgetSettingsQueryResponse setShowRebateCodeField(Boolean value) { this.ShowRebateCodeField = value; return this; } public Boolean isShowNextAvailableTime() { return ShowNextAvailableTime; } public HomepageWidgetSettingsQueryResponse setShowNextAvailableTime(Boolean value) { this.ShowNextAvailableTime = value; return this; } public Boolean isEnableCreateAccount() { return EnableCreateAccount; } public HomepageWidgetSettingsQueryResponse setEnableCreateAccount(Boolean value) { this.EnableCreateAccount = value; return this; } public Boolean isEnableLogin() { return EnableLogin; } public HomepageWidgetSettingsQueryResponse setEnableLogin(Boolean value) { this.EnableLogin = value; return this; } public Boolean isEnableFacebookLogin() { return EnableFacebookLogin; } public HomepageWidgetSettingsQueryResponse setEnableFacebookLogin(Boolean value) { this.EnableFacebookLogin = value; return this; } public Boolean isEnableDirectBooking() { return EnableDirectBooking; } public HomepageWidgetSettingsQueryResponse setEnableDirectBooking(Boolean value) { this.EnableDirectBooking = value; return this; } public Boolean isDarkTheme() { return DarkTheme; } public HomepageWidgetSettingsQueryResponse setDarkTheme(Boolean value) { this.DarkTheme = value; return this; } public Boolean isShowEndTime() { return ShowEndTime; } public HomepageWidgetSettingsQueryResponse setShowEndTime(Boolean value) { this.ShowEndTime = value; return this; } public String getBookedTimeSlotText() { return BookedTimeSlotText; } public HomepageWidgetSettingsQueryResponse setBookedTimeSlotText(String value) { this.BookedTimeSlotText = value; return this; } public ArrayList getServiceLayoutOptions() { return ServiceLayoutOptions; } public HomepageWidgetSettingsQueryResponse setServiceLayoutOptions(ArrayList value) { this.ServiceLayoutOptions = value; return this; } public ArrayList getTimeLayoutOptions() { return TimeLayoutOptions; } public HomepageWidgetSettingsQueryResponse setTimeLayoutOptions(ArrayList value) { this.TimeLayoutOptions = value; return this; } public ArrayList getBookingLayoutOptions() { return BookingLayoutOptions; } public HomepageWidgetSettingsQueryResponse setBookingLayoutOptions(ArrayList value) { this.BookingLayoutOptions = value; return this; } public ArrayList getBookingMethodOptions() { return BookingMethodOptions; } public HomepageWidgetSettingsQueryResponse setBookingMethodOptions(ArrayList value) { this.BookingMethodOptions = value; return this; } } public static interface ICompany { public UUID CompanyId = null; } public static interface ICompanyRequest { public UUID CompanyId = null; public String SitePath = null; } public static class HomepageWidgetServiceLayoutsResponse { /** * The layout id. */ @ApiMember(Description="The layout id.") public Integer Id = null; /** * The layout name. */ @ApiMember(Description="The layout name.") public String Name = null; /** * The layout description. */ @ApiMember(Description="The layout description.") public String Description = null; /** * The layout code. */ @ApiMember(Description="The layout code.") public String Code = null; public Integer getId() { return Id; } public HomepageWidgetServiceLayoutsResponse setId(Integer value) { this.Id = value; return this; } public String getName() { return Name; } public HomepageWidgetServiceLayoutsResponse setName(String value) { this.Name = value; return this; } public String getDescription() { return Description; } public HomepageWidgetServiceLayoutsResponse setDescription(String value) { this.Description = value; return this; } public String getCode() { return Code; } public HomepageWidgetServiceLayoutsResponse setCode(String value) { this.Code = value; return this; } } public static class HomepageWidgetTimeLayoutsResponse { /** * The layout id. */ @ApiMember(Description="The layout id.") public Integer Id = null; /** * The layout name. */ @ApiMember(Description="The layout name.") public String Name = null; /** * The layout description. */ @ApiMember(Description="The layout description.") public String Description = null; /** * The layout code. */ @ApiMember(Description="The layout code.") public String Code = null; public Integer getId() { return Id; } public HomepageWidgetTimeLayoutsResponse setId(Integer value) { this.Id = value; return this; } public String getName() { return Name; } public HomepageWidgetTimeLayoutsResponse setName(String value) { this.Name = value; return this; } public String getDescription() { return Description; } public HomepageWidgetTimeLayoutsResponse setDescription(String value) { this.Description = value; return this; } public String getCode() { return Code; } public HomepageWidgetTimeLayoutsResponse setCode(String value) { this.Code = value; return this; } } public static class HomepageWidgetBookingLayoutsResponse { /** * The layout id. */ @ApiMember(Description="The layout id.") public Integer Id = null; /** * The layout name. */ @ApiMember(Description="The layout name.") public String Name = null; /** * The layout description. */ @ApiMember(Description="The layout description.") public String Description = null; /** * The layout code. */ @ApiMember(Description="The layout code.") public String Code = null; public Integer getId() { return Id; } public HomepageWidgetBookingLayoutsResponse setId(Integer value) { this.Id = value; return this; } public String getName() { return Name; } public HomepageWidgetBookingLayoutsResponse setName(String value) { this.Name = value; return this; } public String getDescription() { return Description; } public HomepageWidgetBookingLayoutsResponse setDescription(String value) { this.Description = value; return this; } public String getCode() { return Code; } public HomepageWidgetBookingLayoutsResponse setCode(String value) { this.Code = value; return this; } } public static class HomepageWidgetBookingMethodsResponse { /** * The layout id. */ @ApiMember(Description="The layout id.") public Integer Id = null; /** * The layout name. */ @ApiMember(Description="The layout name.") public String Name = null; /** * The layout description. */ @ApiMember(Description="The layout description.") public String Description = null; /** * The layout code. */ @ApiMember(Description="The layout code.") public String Code = null; public Integer getId() { return Id; } public HomepageWidgetBookingMethodsResponse setId(Integer value) { this.Id = value; return this; } public String getName() { return Name; } public HomepageWidgetBookingMethodsResponse setName(String value) { this.Name = value; return this; } public String getDescription() { return Description; } public HomepageWidgetBookingMethodsResponse setDescription(String value) { this.Description = value; return this; } public String getCode() { return Code; } public HomepageWidgetBookingMethodsResponse setCode(String value) { this.Code = value; return this; } } }