' Options: 'Date: 2024-11-21 12:02:58 '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: DeleteOldReservations.* '''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.Enums Imports BokaMera.API.ServiceModel.Dtos Namespace Global Namespace BokaMera.API.ServiceModel.Dtos Public Partial Class DeleteOldReservations Implements IReturn(Of DeleteOldReservationsResponse) ''' '''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 date to delete To. Only bookings that have ended by this date will be deleted. ''' Public Overridable Property To As Date ''' '''The system type of the code lock ''' Public Overridable Property CodeLockSystemsId As Integer ''' '''If not logged in you can use token to update ''' Public Overridable Property Token As String End Class Public Partial Class DeleteOldReservationsResponse Public Overridable Property CompanyId As Guid Public Overridable Property Id As Integer Public Overridable Property From As Date Public Overridable Property To As Date Public Overridable Property Status As BookingStatusEnum Public Overridable Property StatusId As Integer Public Overridable Property ResponseStatus As ResponseStatus Public Overridable Property CreatedDate As Date Public Overridable Property UpdatedDate As Date End Class End Namespace Namespace BokaMera.API.ServiceModel.Enums Public Enum BookingStatusEnum Booked = 1 Unbooked = 2 Reserved = 3 Canceled = 4 AwaitingPayment = 5 AwaitingPaymentNoTimeLimit = 6 Payed = 7 AwaitingPaymentRequestFromAdmin = 8 AwaitingPaymentFromProvider = 9 Invoiced = 10 End Enum End Namespace End Namespace