' Options: 'Date: 2024-06-02 06:25:08 'Version: 8.23 'Tip: To override a DTO option, remove "''" prefix before updating 'BaseUrl: https://testapi.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: TestDateSchedule.* '''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 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 Sub New() Times = New List(Of AvailableTimesSum) End Sub 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 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 Public Sub New() ScheduleDates = New List(Of AddDateScheduleDate) End Sub ''' '''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 dates for the schedule. This is the actual timeslots. ''' Public Overridable Property ScheduleDates As List(Of AddDateScheduleDate) ''' '''From what datetime to show available times ''' Public Overridable Property From As Date ''' '''To what datetime to show available times ''' Public Overridable Property To As Date ''' '''The Service Duration ''' Public Overridable Property ServiceId As Nullable(Of 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 Nullable(Of Guid) End Interface Public Interface IInterval Property From As Date Property To As Date End Interface End Namespace End Namespace