' Options: 'Date: 2024-11-21 11:33:18 '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: CreateNewsletterTemplate.* '''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 CreateNewsletterTemplate Implements IReturn(Of NewsletterTemplatesQueryResponse) 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 newsletter template heading. ''' Public Overridable Property Heading As String ''' '''The newsletter template body. ''' Public Overridable Property Body As String ''' '''The newsletter template image url. ''' Public Overridable Property ImageUrl As String ''' '''The newsletter template send method (1=email, 2=sms). ''' Public Overridable Property SendMethodId As Integer ''' '''The email template id. Get valid email templates from GET /newsletter/emailtemplates ''' Public Overridable Property EmailTemplateId As Nullable(Of Integer) End Class Public Partial Class NewsletterEmailTemplatesQueryResponse ''' '''The email template id ''' Public Overridable Property Id As Integer ''' '''The email template name. ''' Public Overridable Property Name As String ''' '''The email template description. ''' Public Overridable Property Description As String ''' '''The email template html content. ''' Public Overridable Property Body As String End Class Public Partial Class NewsletterSendMethodQueryResponse ''' '''The send method id ''' Public Overridable Property Id As Integer ''' '''The send method name. ''' Public Overridable Property Name As String ''' '''The send method description. ''' Public Overridable Property Description As String End Class Public Partial Class NewsletterTemplatesQueryResponse ''' '''The newsletter template id ''' Public Overridable Property Id As Integer ''' '''The newsletter template heading. ''' Public Overridable Property Heading As String ''' '''The newsletter template body. ''' Public Overridable Property Body As String ''' '''The email template the newsletter uses. ''' Public Overridable Property EmailTemplateId As Nullable(Of Integer) ''' '''Send Method. 1 = Email, 2 = SMS ''' Public Overridable Property SendMethodId As Integer ''' '''The newsletter template image url. ''' Public Overridable Property ImageUrl As String ''' '''The newsletter created date. ''' Public Overridable Property Created As Date ''' '''Send method information. ''' Public Overridable Property SendMethodInformation As NewsletterSendMethodQueryResponse ''' '''Email template information. ''' Public Overridable Property EmailTemplateInformation As NewsletterEmailTemplatesQueryResponse End Class End Namespace Namespace BokaMera.API.ServiceModel.Interfaces Public Interface ICompany Property CompanyId As Nullable(Of Guid) End Interface End Namespace End Namespace