' Options: 'Date: 2024-11-21 12:10:25 '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: SendEmail.* '''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 MessageLogQueryResponse ''' '''The message log id ''' Public Overridable Property Id As Integer ''' '''The booking id for the message (if connected to a booking). ''' Public Overridable Property BookingId As Nullable(Of Integer) ''' '''The message receiver. Either a email or a mobile phone number. ''' Public Overridable Property Receiver As String ''' '''Message Title. ''' Public Overridable Property MessageTitle As String ''' '''Message Storage Url. ''' Public Overridable Property StorageUrl As String ''' '''Message Body. ''' Public Overridable Property MessageBody As String ''' '''When message was created. ''' Public Overridable Property Created As Date ''' '''When the message will be sent. ''' Public Overridable Property ToSendDate As Date ''' '''When the message was sent. ''' Public Overridable Property SentDate As Nullable(Of Date) ''' '''If Message is sent ''' Public Overridable Property Sent As Boolean ''' '''Number of retries to send the message ''' Public Overridable Property MessageRetries As Integer ''' '''Send Method. 1 = Email, 2 = SMS ''' Public Overridable Property SendMethodId As Integer End Class Public Partial Class SendEmail Implements IReturn(Of MessageLogQueryResponse) 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) ''' '''The message receiver email. ''' Public Overridable Property Receiver As String ''' '''Message Title. ''' Public Overridable Property MessageTitle As String ''' '''Message Body. ''' Public Overridable Property MessageBody As String ''' '''When the message will be sent. ''' Public Overridable Property ToSendDate As Date End Class End Namespace Namespace BokaMera.API.ServiceModel.Interfaces Public Interface ICompany Property CompanyId As Nullable(Of Guid) End Interface End Namespace End Namespace