' Options:
'Date: 2024-11-21 11:57:21
'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: SendEmailToCompany.*
'''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 SendEmailToCompany
Implements IReturn(Of MessageLogQueryResponse)
Implements ICompany
'''
'''The company id, if empty you will need to provide the sitepath instead.
'''
Public Overridable Property CompanyId As Nullable(Of Guid)
'''
'''Message Title.
'''
Public Overridable Property MessageTitle As String
'''
'''Message Body.
'''
Public Overridable Property MessageBody As String
'''
'''Message Sender Name.
'''
Public Overridable Property Name As String
'''
'''Message Sender Email.
'''
Public Overridable Property Email As String
'''
'''Message Sender Phone Number.
'''
Public Overridable Property Phone As String
'''
'''The homeage sitepath.
'''
Public Overridable Property SitePath As String
End Class
End Namespace
Namespace BokaMera.API.ServiceModel.Interfaces
Public Interface ICompany
Property CompanyId As Nullable(Of Guid)
End Interface
End Namespace
End Namespace