/* Options: Date: 2024-06-17 01:37:00 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://testapi.bokamera.se //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: HomepageWidgetSettingsQuery.* //ExcludeTypes: //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.* import java.util.* import net.servicestack.client.* @Route(Path="/homepage/widget/settings", Verbs="GET") open class HomepageWidgetSettingsQuery : 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.") var CompanyId:UUID? = null /** * The homepage sitepath. */ @ApiMember(Description="The homepage sitepath.") var SitePath:String? = 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") var IncludeServiceLayoutOptions:Boolean? = 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") var IncludeTimeLayoutOptions:Boolean? = 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") var IncludeBookingLayoutOptions:Boolean? = 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") var IncludeBookingMethodOptions:Boolean? = null companion object { private val responseType = HomepageWidgetSettingsQueryResponse::class.java } override fun getResponseType(): Any? = HomepageWidgetSettingsQuery.responseType } open class HomepageWidgetSettingsQueryResponse { /** * The company id. */ @ApiMember(Description="The company id.") var CompanyId:UUID? = null /** * The service layouts id. */ @ApiMember(Description="The service layouts id.") var ServiceLayoutId:Int? = null /** * The time layouts id. */ @ApiMember(Description="The time layouts id.") var TimeLayoutId:Int? = null /** * The booking layouts id. */ @ApiMember(Description="The booking layouts id.") var BookingLayoutId:Int? = null /** * The primary color of the booking widget. */ @ApiMember(Description="The primary color of the booking widget.") 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.") 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.") 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.") var ShowNextAvailableTime:Boolean? = null /** * If you should show the create account option. */ @ApiMember(Description="If you should show the create account option.") var EnableCreateAccount:Boolean? = null /** * If you should show the login to account option. */ @ApiMember(Description="If you should show the login to account option.") 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.") 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.") var EnableDirectBooking:Boolean? = null /** * If the site should have dark theme or not. */ @ApiMember(Description="If the site should have dark theme or not.") 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.") 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") var BookedTimeSlotText:String? = null var ServiceLayoutOptions:ArrayList = ArrayList() var TimeLayoutOptions:ArrayList = ArrayList() var BookingLayoutOptions:ArrayList = ArrayList() var BookingMethodOptions:ArrayList = ArrayList() } open interface ICompany { var CompanyId:UUID? } open interface ICompanyRequest { var CompanyId:UUID? var SitePath:String? } open class HomepageWidgetServiceLayoutsResponse { /** * The layout id. */ @ApiMember(Description="The layout id.") var Id:Int? = null /** * The layout name. */ @ApiMember(Description="The layout name.") var Name:String? = null /** * The layout description. */ @ApiMember(Description="The layout description.") var Description:String? = null /** * The layout code. */ @ApiMember(Description="The layout code.") var Code:String? = null } open class HomepageWidgetTimeLayoutsResponse { /** * The layout id. */ @ApiMember(Description="The layout id.") var Id:Int? = null /** * The layout name. */ @ApiMember(Description="The layout name.") var Name:String? = null /** * The layout description. */ @ApiMember(Description="The layout description.") var Description:String? = null /** * The layout code. */ @ApiMember(Description="The layout code.") var Code:String? = null } open class HomepageWidgetBookingLayoutsResponse { /** * The layout id. */ @ApiMember(Description="The layout id.") var Id:Int? = null /** * The layout name. */ @ApiMember(Description="The layout name.") var Name:String? = null /** * The layout description. */ @ApiMember(Description="The layout description.") var Description:String? = null /** * The layout code. */ @ApiMember(Description="The layout code.") var Code:String? = null } open class HomepageWidgetBookingMethodsResponse { /** * The layout id. */ @ApiMember(Description="The layout id.") var Id:Int? = null /** * The layout name. */ @ApiMember(Description="The layout name.") var Name:String? = null /** * The layout description. */ @ApiMember(Description="The layout description.") var Description:String? = null /** * The layout code. */ @ApiMember(Description="The layout code.") var Code:String? = null }