' Options:
'Date: 2024-11-21 11:38:52
'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: TestSendMessageTemplate.*
'''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 TestSendMessageTemplate
Implements IReturn(Of MessageLogQueryResponse)
Implements ICompany
Public Sub New()
Services = 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)
'''
'''The email recepient to receive the newsletter. For templates with send method SMS you need to enter a valid mobile phone number and send method Email a valid Email must be provided.
'''
Public Overridable Property Receiver As String
'''
'''The message template title.
'''
Public Overridable Property Title As String
'''
'''The newsletter template body.
'''
Public Overridable Property Body As String
'''
'''The message type id. See GET /messages/templates/types
'''
Public Overridable Property TypeId As Nullable(Of Integer)
'''
'''Message template lanugage
'''
Public Overridable Property Language As String
'''
'''The services that is connected to the message. If null it will be connected to all services.
'''
Public Overridable Property Services As Integer()
End Class
End Namespace
Namespace BokaMera.API.ServiceModel.Interfaces
Public Interface ICompany
Property CompanyId As Nullable(Of Guid)
End Interface
End Namespace
End Namespace