/* Options: Date: 2025-09-13 18:25:23 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bookmore.com //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: UpdateHomepageWidgetSettings.* //ExcludeTypes: //InitializeCollections: False //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.* */ import java.math.* import java.util.* import java.io.InputStream import net.servicestack.client.* @Route(Path="/homepage/widget/settings", Verbs="PUT") @ValidateRequest(Validator="IsAuthenticated") open class UpdateHomepageWidgetSettings : IReturn, ICompany { /** * 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.") override var CompanyId:UUID? = null /** * Serivce Layout. */ @ApiMember(Description="Serivce Layout.") open var ServiceLayoutId:Int? = null /** * Time Layout. */ @ApiMember(Description="Time Layout.") open var TimeLayoutId:Int? = null /** * Booking Layout. */ @ApiMember(Description="Booking Layout.") open var BookingLayoutId:Int? = null /** * The primary color of the booking widget. */ @ApiMember(Description="The primary color of the booking widget.") open var PrimaryColor:String? = null /** * If the site should have dark theme or not. */ @ApiMember(Description="If the site should have dark theme or not.") open var DarkTheme:Boolean? = 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.") open var ShowServiceImage:Boolean? = 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.") open var ShowRebateCodeField:Boolean? = 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.") open var ShowNextAvailableTime:Boolean? = 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.") open var ShowEndTime:Boolean? = null /** * Show subscribe to newsletter checkbox on the page */ @ApiMember(Description="Show subscribe to newsletter checkbox on the page") open var ShowSubscribeToNewsletter:Boolean? = 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") open var BookedTimeSlotText:String? = null /** * If you should show the create account option. */ @ApiMember(Description="If you should show the create account option.") open var EnableCreateAccount:Boolean? = null /** * If you should show the login to account option. */ @ApiMember(Description="If you should show the login to account option.") open var EnableLogin:Boolean? = null /** * If you should show the facebook login to account option. */ @ApiMember(Description="If you should show the facebook login to account option.") open var EnableFacebookLogin:Boolean? = 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.") open var EnableDirectBooking:Boolean? = null companion object { private val responseType = HomepageWidgetSettingsQueryResponse::class.java } override fun getResponseType(): Any? = UpdateHomepageWidgetSettings.responseType } open class HomepageWidgetSettingsQueryResponse { /** * The company id. */ @ApiMember(Description="The company id.") open var CompanyId:UUID? = null /** * The service layouts id. */ @ApiMember(Description="The service layouts id.") open var ServiceLayoutId:Int? = null /** * The time layouts id. */ @ApiMember(Description="The time layouts id.") open var TimeLayoutId:Int? = null /** * The booking layouts id. */ @ApiMember(Description="The booking layouts id.") open var BookingLayoutId:Int? = null /** * The primary color of the booking widget. */ @ApiMember(Description="The primary color of the booking widget.") open var PrimaryColor:String? = 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.") open var ShowServiceImage:Boolean? = 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.") open var ShowRebateCodeField:Boolean? = 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.") open var ShowNextAvailableTime:Boolean? = null /** * If you should show the subscribe to newsletter checkbox in the booking widget. */ @ApiMember(Description="If you should show the subscribe to newsletter checkbox in the booking widget.") open var ShowSubscribeToNewsletter:Boolean? = null /** * If you should show the create account option. */ @ApiMember(Description="If you should show the create account option.") open var EnableCreateAccount:Boolean? = null /** * If you should show the login to account option. */ @ApiMember(Description="If you should show the login to account option.") open var EnableLogin:Boolean? = null /** * If you should show the facebook login to account option. */ @ApiMember(Description="If you should show the facebook login to account option.") open var EnableFacebookLogin:Boolean? = 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.") open var EnableDirectBooking:Boolean? = null /** * If the site should have dark theme or not. */ @ApiMember(Description="If the site should have dark theme or not.") open var DarkTheme:Boolean? = 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.") open var ShowEndTime:Boolean? = 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") open var BookedTimeSlotText:String? = null open var ServiceLayoutOptions:ArrayList? = null open var TimeLayoutOptions:ArrayList? = null open var BookingLayoutOptions:ArrayList? = null open var BookingMethodOptions:ArrayList? = null } interface ICompany { var CompanyId:UUID? } open class HomepageWidgetServiceLayoutsResponse { /** * The layout id. */ @ApiMember(Description="The layout id.") open var Id:Int? = null /** * The layout name. */ @ApiMember(Description="The layout name.") open var Name:String? = null /** * The layout description. */ @ApiMember(Description="The layout description.") open var Description:String? = null /** * The layout code. */ @ApiMember(Description="The layout code.") open var Code:String? = null } open class HomepageWidgetTimeLayoutsResponse { /** * The layout id. */ @ApiMember(Description="The layout id.") open var Id:Int? = null /** * The layout name. */ @ApiMember(Description="The layout name.") open var Name:String? = null /** * The layout description. */ @ApiMember(Description="The layout description.") open var Description:String? = null /** * The layout code. */ @ApiMember(Description="The layout code.") open var Code:String? = null } open class HomepageWidgetBookingLayoutsResponse { /** * The layout id. */ @ApiMember(Description="The layout id.") open var Id:Int? = null /** * The layout name. */ @ApiMember(Description="The layout name.") open var Name:String? = null /** * The layout description. */ @ApiMember(Description="The layout description.") open var Description:String? = null /** * The layout code. */ @ApiMember(Description="The layout code.") open var Code:String? = null } open class HomepageWidgetBookingMethodsResponse { /** * The layout id. */ @ApiMember(Description="The layout id.") open var Id:Int? = null /** * The layout name. */ @ApiMember(Description="The layout name.") open var Name:String? = null /** * The layout description. */ @ApiMember(Description="The layout description.") open var Description:String? = null /** * The layout code. */ @ApiMember(Description="The layout code.") open var Code:String? = null }