' Options: 'Date: 2024-11-21 14:21:56 '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: UpdateHomepageWidgetSettings.* '''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 ServiceStack.Data 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 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 subscribe to newsletter checkbox in the booking widget. ''' Public Overridable Property ShowSubscribeToNewsletter 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 Public Partial Class UpdateHomepageWidgetSettings Implements IReturn(Of HomepageWidgetSettingsQueryResponse) Implements ICompany ''' '''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) ''' '''Serivce Layout. ''' Public Overridable Property ServiceLayoutId As Nullable(Of Integer) ''' '''Time Layout. ''' Public Overridable Property TimeLayoutId As Nullable(Of Integer) ''' '''Booking Layout. ''' Public Overridable Property BookingLayoutId As Nullable(Of Integer) ''' '''The primary color of the booking widget. ''' Public Overridable Property PrimaryColor As String ''' '''If the site should have dark theme or not. ''' Public Overridable Property DarkTheme As Nullable(Of Boolean) ''' '''If you should show the service image in the booking widget. ''' Public Overridable Property ShowServiceImage As Nullable(Of Boolean) ''' '''If you should show the rebate code field in the booking widget. ''' Public Overridable Property ShowRebateCodeField As Nullable(Of Boolean) ''' '''If you should show the next available time in the booking widget. ''' Public Overridable Property ShowNextAvailableTime As Nullable(Of Boolean) ''' '''If you should show the end time in the booking widget. ''' Public Overridable Property ShowEndTime As Nullable(Of Boolean) ''' '''Show subscribe to newsletter checkbox on the page ''' Public Overridable Property ShowSubscribeToNewsletter As Nullable(Of Boolean) ''' '''What text to show on booked time slots. Default text is Booked ''' Public Overridable Property BookedTimeSlotText As String ''' '''If you should show the create account option. ''' Public Overridable Property EnableCreateAccount As Nullable(Of Boolean) ''' '''If you should show the login to account option. ''' Public Overridable Property EnableLogin As Nullable(Of Boolean) ''' '''If you should show the facebook login to account option. ''' Public Overridable Property EnableFacebookLogin As Nullable(Of Boolean) ''' '''If you should show the direct booking option. This enables customer to book with entering contact information. ''' Public Overridable Property EnableDirectBooking As Nullable(Of Boolean) End Class End Namespace Namespace BokaMera.API.ServiceModel.Interfaces Public Interface ICompany Property CompanyId As Nullable(Of Guid) End Interface End Namespace End Namespace