' Options: 'Date: 2024-07-03 13:14:13 '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: LicenseTypeQuery.* '''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 System.IO Imports BokaMera.API.ServiceModel.Db Imports BokaMera.API.ServiceModel.Dtos Imports PaysonIntegrationCO2.Models.Enums Namespace Global Namespace BokaMera.API.ServiceModel.Db Public Partial Class BaseModel End Class Public Partial Class Country Inherits BaseModel Public Overridable Property CurrencyId As String Public Overridable Property CurrencyInfo As Currency Public Overridable Property Name As String Public Overridable Property Culture As String Public Overridable Property TimeZone As String Public Overridable Property ModifiedDate As Nullable(Of DateTimeOffset) Public Overridable Property Id As String End Class Public Partial Class Currency Inherits BaseModel Public Overridable Property Name As String Public Overridable Property CurrencySign As String Public Overridable Property Active As Boolean Public Overridable Property ModifiedDate As Nullable(Of DateTimeOffset) Public Overridable Property Id As String End Class Public Partial Class LicensePrice Inherits BaseModel Public Overridable Property Country As Country Public Overridable Property MonthlyPayment As Boolean Public Overridable Property LicenseTypeId As Integer Public Overridable Property CountryId As String Public Overridable Property Price As Integer Public Overridable Property ModifiedDate As Nullable(Of DateTimeOffset) End Class Public Partial Class LicenseType Inherits BaseModel Public Overridable Property LicenseItems As IList(Of LicenseTypeItem) Public Overridable Property Prices As IList(Of LicensePrice) Public Overridable Property PeriodOfNoticeDays As Integer Public Overridable Property NextLicenseOption As LicenseType Public Overridable Property Name As String Public Overridable Property Description As String Public Overridable Property ExtraLicenseOption As Boolean Public Overridable Property ModifiedDate As Nullable(Of DateTimeOffset) Public Overridable Property Id As Integer End Class Public Partial Class LicenseTypeItem Inherits BaseModel Public Overridable Property Name As String Public Overridable Property LicenseTypesId As Integer Public Overridable Property LicenseItemsId As Integer Public Overridable Property NumberOfItems As Integer Public Overridable Property Id As Integer Public Overridable Property ModifiedDate As Nullable(Of DateTimeOffset) End Class End Namespace Namespace BokaMera.API.ServiceModel.Dtos Public Partial Class LicenseInformationQueryResponse Public Overridable Property Name As String Public Overridable Property Description As String Public Overridable Property Url As Uri Public Overridable Property FreeEdition As Boolean Public Overridable Property StartEdition As Boolean Public Overridable Property ProEdition As Boolean Public Overridable Property SmartEdition As Boolean Public Overridable Property EnterpriseEdition As Boolean Public Overridable Property FreeEditionValue As String Public Overridable Property StartEditionValue As String Public Overridable Property ProEditionValue As String Public Overridable Property SmartEditionValue As String Public Overridable Property EnterpriseEditionValue As String Public Overridable Property LicenseInformationTypeId As Integer End Class Public Partial Class LicenseTypeQuery Inherits QueryDb(Of LicenseType, LicenseInformationQueryResponse) Implements IReturn(Of QueryResponse(Of LicenseInformationQueryResponse)) ''' '''If you want to only select Extra license options ''' Public Overridable Property ExtraLicenseOption As Nullable(Of Boolean) ''' '''What country you want to list the prices for ''' Public Overridable Property CountryId As String ''' '''If you want to include the connected license items ''' Public Overridable Property IncludeLicenseItems As Boolean ''' '''If you want to include the connected licens prices ''' Public Overridable Property IncludeLicensePrices As Boolean Public Overridable Property ResponseStatus As ResponseStatus End Class End Namespace Namespace PaysonIntegrationCO2.Models.Enums Public Enum Currency SEK = 1 EUR = 2 End Enum End Namespace End Namespace