(* Options: Date: 2024-06-26 09:28:30 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://testapi.bokamera.se //GlobalNamespace: //MakeDataContractsExtensible: False //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //ExportValueTypes: False IncludeTypes: CancelLicense.* //ExcludeTypes: //InitializeCollections: True //AddNamespaces: *) namespace BokaMera.API.ServiceModel.Db open System open System.Collections open System.Collections.Generic open System.Runtime.Serialization open ServiceStack open ServiceStack.DataAnnotations open System.Globalization open System.IO [] type ICompany = abstract CompanyId:Nullable with get,set [] type BaseModel() = class end type Currency = | SEK = 1 | EUR = 2 [] type Country() = inherit BaseModel() [)>] member val CurrencyId:String = null with get,set member val CurrencyInfo:Currency = null with get,set [] member val Name:String = null with get,set member val Culture:String = null with get,set member val TimeZone:String = null with get,set member val ModifiedDate:Nullable = new Nullable() with get,set [] member val Id:String = null with get,set [] type Currency() = inherit BaseModel() [] member val Name:String = null with get,set [] member val CurrencySign:String = null with get,set [] member val Active:Boolean = new Boolean() with get,set member val ModifiedDate:Nullable = new Nullable() with get,set [] member val Id:String = null with get,set [] type LicenseItemsResponse() = member val Id:Int32 = new Int32() with get,set member val Name:String = null with get,set member val AllowedItems:Int32 = new Int32() with get,set [] type LicensePrice() = inherit BaseModel() [] member val Country:Country = null with get,set [] member val MonthlyPayment:Boolean = new Boolean() with get,set [] member val LicenseTypeId:Int32 = new Int32() with get,set [] member val CountryId:String = null with get,set [] member val Price:Int32 = new Int32() with get,set member val ModifiedDate:Nullable = new Nullable() with get,set [] type LicenseTypeQueryResponse() = /// ///The license type id /// [] member val Id:Int32 = new Int32() with get,set /// ///The license type name /// [] member val Name:String = null with get,set /// ///The license type description /// [] member val Description:String = null with get,set /// ///If the license type is not a standard license but instead an extra license option. An example would be sending new letter license. /// [] member val IsExtraLicenseOption:Boolean = new Boolean() with get,set /// ///The period of notice for the license in days. /// [] member val PeriodOfNoticeDays:Int32 = new Int32() with get,set /// ///The license items for the license type /// [] member val Items:ResizeArray = new ResizeArray() with get,set /// ///The license prices in each country for the license type /// [] member val Prices:ResizeArray = new ResizeArray() with get,set [] type CompanyLicenseQueryResponse() = member val Id:Int32 = new Int32() with get,set member val TypeId:Int32 = new Int32() with get,set member val Type:LicenseTypeQueryResponse = null with get,set member val ValidFrom:DateTime = new DateTime() with get,set member val ValidTo:DateTime = new DateTime() with get,set member val MetaData:String = null with get,set member val Active:Boolean = new Boolean() with get,set member val Canceled:Boolean = new Boolean() with get,set member val Updated:DateTime = new DateTime() with get,set member val Created:DateTime = new DateTime() with get,set [] [] [] [] type CancelLicense() = interface IReturn /// ///The company id, if empty will use the company id for the user you are logged in with. /// [] member val CompanyId:Nullable = new Nullable() with get,set /// ///Id of the license /// [] member val Id:Int32 = new Int32() with get,set