' Options: 'Date: 2024-11-21 11:39:19 '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: NewsletterCustomerQuery.* '''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 NewsletterCustomerInfo Public Overridable Property Id As Guid Public Overridable Property Firstname As String Public Overridable Property Lastname As String Public Overridable Property Email As String Public Overridable Property Phone As String Public Overridable Property FacebookUserName As String Public Overridable Property ImageUrl As Uri End Class Public Partial Class NewsletterCustomerQuery Implements IReturn(Of NewsletterCustomerQueryResponse) Implements ICompany Public Sub New() BookedServiceIds = New Integer(){} 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) ''' '''Search for customer has done minimum number of bookings. ''' Public Overridable Property CustomerMinBookings As Nullable(Of Integer) ''' '''Search for customer has done maximum number of bookings. ''' Public Overridable Property CustomerMaxBookings As Nullable(Of Integer) ''' '''Search for customer has booked any of the service in the list (List contain service id's). ''' Public Overridable Property BookedServiceIds As Integer() ''' '''Search interval From datetime . ''' Public Overridable Property From As Nullable(Of Date) ''' '''Search interval To datetime . ''' Public Overridable Property To As Nullable(Of Date) ''' '''The max number of records you want to collect ''' Public Overridable Property MaxRecords As Nullable(Of Integer) ''' '''If you want to include the full customer information in the response ''' Public Overridable Property IncludeCustomerInformation As Boolean End Class Public Partial Class NewsletterCustomerQueryResponse Public Overridable Property Id As Guid Public Overridable Property Customer As NewsletterCustomerInfo End Class End Namespace Namespace BokaMera.API.ServiceModel.Interfaces Public Interface ICompany Property CompanyId As Nullable(Of Guid) End Interface End Namespace End Namespace