' Options: 'Date: 2024-07-03 13:14:35 'Version: 8.23 'Tip: To override a DTO option, remove "''" prefix before updating 'BaseUrl: https://api.bokamera.se ' '''GlobalNamespace: '''MakePartial: True '''MakeVirtual: True '''MakeDataContractsExtensible: False '''AddReturnMarker: True '''AddDescriptionAsComments: True '''AddDataContractAttributes: False '''AddIndexesToDataMembers: False '''AddGeneratedCodeAttributes: False '''AddResponseStatus: False '''AddImplicitVersion: '''InitializeCollections: True '''ExportValueTypes: False 'IncludeTypes: HomepageWidgetSettingsQuery.* '''ExcludeTypes: '''AddNamespaces: '''AddDefaultXmlNamespace: http://schemas.servicestack.net/types Imports System Imports System.Collections Imports System.Collections.Generic Imports System.Runtime.Serialization Imports ServiceStack Imports ServiceStack.DataAnnotations Imports System.Globalization Imports System.IO Imports BokaMera.API.ServiceModel.Interfaces Imports BokaMera.API.ServiceModel.Dtos Namespace Global Namespace BokaMera.API.ServiceModel.Dtos Public Partial Class HomepageWidgetBookingLayoutsResponse ''' '''The layout id. ''' Public Overridable Property Id As Integer ''' '''The layout name. ''' Public Overridable Property Name As String ''' '''The layout description. ''' Public Overridable Property Description As String ''' '''The layout code. ''' Public Overridable Property Code As String End Class Public Partial Class HomepageWidgetBookingMethodsResponse ''' '''The layout id. ''' Public Overridable Property Id As Integer ''' '''The layout name. ''' Public Overridable Property Name As String ''' '''The layout description. ''' Public Overridable Property Description As String ''' '''The layout code. ''' Public Overridable Property Code As String End Class Public Partial Class HomepageWidgetServiceLayoutsResponse ''' '''The layout id. ''' Public Overridable Property Id As Integer ''' '''The layout name. ''' Public Overridable Property Name As String ''' '''The layout description. ''' Public Overridable Property Description As String ''' '''The layout code. ''' Public Overridable Property Code As String End Class Public Partial Class HomepageWidgetSettingsQuery Implements IReturn(Of HomepageWidgetSettingsQueryResponse) Implements ICompany Implements ICompanyRequest ''' '''The company id, if empty will use the company id for the user you are logged in with. ''' Public Overridable Property CompanyId As Nullable(Of Guid) ''' '''The homepage sitepath. ''' Public Overridable Property SitePath As String ''' '''If you want to include what service layout options to select from ''' Public Overridable Property IncludeServiceLayoutOptions As Boolean ''' '''If you want to include what time layout options to select from ''' Public Overridable Property IncludeTimeLayoutOptions As Boolean ''' '''If you want to include what booking layout options to select from ''' Public Overridable Property IncludeBookingLayoutOptions As Boolean ''' '''If you want to include what booking method options to select from ''' Public Overridable Property IncludeBookingMethodOptions As Boolean End Class Public Partial Class HomepageWidgetSettingsQueryResponse Public Sub New() ServiceLayoutOptions = New List(Of HomepageWidgetServiceLayoutsResponse) TimeLayoutOptions = New List(Of HomepageWidgetTimeLayoutsResponse) BookingLayoutOptions = New List(Of HomepageWidgetBookingLayoutsResponse) BookingMethodOptions = New List(Of HomepageWidgetBookingMethodsResponse) End Sub ''' '''The company id. ''' Public Overridable Property CompanyId As Guid ''' '''The service layouts id. ''' Public Overridable Property ServiceLayoutId As Integer ''' '''The time layouts id. ''' Public Overridable Property TimeLayoutId As Integer ''' '''The booking layouts id. ''' Public Overridable Property BookingLayoutId As Integer ''' '''The primary color of the booking widget. ''' Public Overridable Property PrimaryColor As String ''' '''If you should show the service image in the booking widget. ''' Public Overridable Property ShowServiceImage As Boolean ''' '''If you should show the rebate code field in the booking widget. ''' Public Overridable Property ShowRebateCodeField As Boolean ''' '''If you should show the next available time in the booking widget. ''' Public Overridable Property ShowNextAvailableTime As Boolean ''' '''If you should show the create account option. ''' Public Overridable Property EnableCreateAccount As Boolean ''' '''If you should show the login to account option. ''' Public Overridable Property EnableLogin As Boolean ''' '''If you should show the facebook login to account option. ''' Public Overridable Property EnableFacebookLogin As Boolean ''' '''If you should show the direct booking option. This enables customer to book with entering contact information. ''' Public Overridable Property EnableDirectBooking As Boolean ''' '''If the site should have dark theme or not. ''' Public Overridable Property DarkTheme As Boolean ''' '''If you should show the end time in the booking widget. ''' Public Overridable Property ShowEndTime As Boolean ''' '''What text to show on booked time slots. Default text is Booked ''' Public Overridable Property BookedTimeSlotText As String Public Overridable Property ServiceLayoutOptions As List(Of HomepageWidgetServiceLayoutsResponse) Public Overridable Property TimeLayoutOptions As List(Of HomepageWidgetTimeLayoutsResponse) Public Overridable Property BookingLayoutOptions As List(Of HomepageWidgetBookingLayoutsResponse) Public Overridable Property BookingMethodOptions As List(Of HomepageWidgetBookingMethodsResponse) End Class Public Partial Class HomepageWidgetTimeLayoutsResponse ''' '''The layout id. ''' Public Overridable Property Id As Integer ''' '''The layout name. ''' Public Overridable Property Name As String ''' '''The layout description. ''' Public Overridable Property Description As String ''' '''The layout code. ''' Public Overridable Property Code As String End Class End Namespace Namespace BokaMera.API.ServiceModel.Interfaces Public Interface ICompany Property CompanyId As Nullable(Of Guid) End Interface Public Interface ICompanyRequest Property CompanyId As Nullable(Of Guid) Property SitePath As String End Interface End Namespace End Namespace