' Options: 'Date: 2025-09-15 08:49:10 'Version: 8.80 'Tip: To override a DTO option, remove "''" prefix before updating 'BaseUrl: https://api.bookmore.com ' '''GlobalNamespace: '''MakePartial: True '''MakeVirtual: True '''MakeDataContractsExtensible: False '''AddReturnMarker: True '''AddDescriptionAsComments: True '''AddDataContractAttributes: False '''AddIndexesToDataMembers: False '''AddGeneratedCodeAttributes: False '''AddResponseStatus: False '''AddImplicitVersion: '''InitializeCollections: False '''ExportValueTypes: False 'IncludeTypes: TestDateSchedule.* '''ExcludeTypes: '''AddNamespaces: '''AddDefaultXmlNamespace: http://schemas.servicestack.net/types Imports System Imports System.IO Imports System.Collections Imports System.Collections.Generic Imports System.Runtime.Serialization Imports ServiceStack Imports ServiceStack.DataAnnotations Imports System.Globalization Imports ServiceStack.Data Imports System.Net Imports System.Net.Http.Headers Imports BokaMera.API.ServiceModel.Interfaces Imports BokaMera.API.ServiceModel.Dtos Namespace Global Namespace BokaMera.API.ServiceModel.Dtos Public Partial Class AddDateScheduleDate ''' '''The from date for the timeslot ''' Public Overridable Property From As Date ''' '''The to date for the timeslot ''' Public Overridable Property [To] As Date End Class Public Partial Class AvailableTimesResponse Public Overridable Property CompanyId As Guid Public Overridable Property ServiceId As Integer Public Overridable Property TimesFreeTextSingle As String Public Overridable Property TimesFreeTextMultiple As String Public Overridable Property Times As List(Of AvailableTimesSum) End Class Public Partial Class AvailableTimesSum Implements IAvailableTime Public Overridable Property From As Date Public Overridable Property [To] As Date Public Overridable Property Free As Integer Implements IAvailableTime.Free Public Overridable Property FreeSpots As Integer Public Overridable Property ExceptionTexts As IEnumerable(Of ExceptionText) End Class Public Partial Class ExceptionText Public Overridable Property Reason As String Public Overridable Property ReasonPublic As String End Class Public Partial Class TestDateSchedule Implements IReturn(Of AvailableTimesResponse) Implements ICompany Implements IInterval ''' '''The company id, if empty will use the company id for the user you are logged in with. ''' Public Overridable Property CompanyId As Guid? Implements ICompany.CompanyId ''' '''The dates for the schedule. This is the actual timeslots. ''' Public Overridable Property ScheduleDates As List(Of AddDateScheduleDate) = New List(Of AddDateScheduleDate) ''' '''From what datetime to show available times ''' Public Overridable Property From As Date Implements IInterval.From ''' '''To what datetime to show available times ''' Public Overridable Property [To] As Date Implements IInterval.To ''' '''The Service Duration ''' Public Overridable Property ServiceId As Integer? End Class End Namespace Namespace BokaMera.API.ServiceModel.Interfaces Public Interface IAvailableTime Implements IInterval Property Free As Integer End Interface Public Interface ICompany Property CompanyId As Guid? End Interface Public Interface IInterval Property From As Date Property [To] As Date End Interface End Namespace End Namespace