' Options: 'Date: 2025-01-18 06:46:23 '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: SyncCompanyCustomerMembers.* '''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 Imports MailChimp.Net.Models Namespace Global Namespace BokaMera.API.ServiceModel.Dtos Public Partial Class MemberResponse Public Sub New() Tags = New List(Of MemberTag) End Sub Public Overridable Property EmailAddress As String Public Overridable Property FullName As String Public Overridable Property Tags As List(Of MemberTag) End Class Public Partial Class SyncCompanyCustomerMembers Implements IReturn(Of SyncMembersResponse) 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) ''' '''Should we delete emails that do not exist in BokaMera. ''' Public Overridable Property DeleteNonExisting As Boolean ''' '''Should we target only subscribed to newsletter customers. ''' Public Overridable Property OnlySubscribed As Boolean ''' '''Determines if it is a test user ''' Public Overridable Property Test As Boolean End Class Public Partial Class SyncMembersResponse Public Sub New() FailedSyncedMembers = New List(Of MemberResponse) SuccessSyncedMembers = New List(Of MemberResponse) End Sub Public Overridable Property FailedSyncedMembers As List(Of MemberResponse) Public Overridable Property SuccessSyncedMembers As List(Of MemberResponse) End Class End Namespace Namespace BokaMera.API.ServiceModel.Interfaces Public Interface ICompany Property CompanyId As Nullable(Of Guid) End Interface End Namespace Namespace MailChimp.Net.Models Public Partial Class MemberTag Public Overridable Property Id As Integer Public Overridable Property Name As String Public Overridable Property DateAdded As Nullable(Of Date) Public Overridable Property Status As String End Class End Namespace End Namespace