(* Options: Date: 2024-11-21 11:41:29 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bokamera.se //GlobalNamespace: //MakeDataContractsExtensible: False //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //ExportValueTypes: False IncludeTypes: CompanyLicenseQuery.* //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 ServiceStack.Data open System.IO [] 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 LicenseTypeItem() = inherit BaseModel() [] member val Name:String = null with get,set [] member val LicenseType:LicenseType = null with get,set [] member val LicenseTypesId:Int32 = new Int32() with get,set [] member val LicenseItemsId:Int32 = new Int32() with get,set [] member val NumberOfItems:Int32 = new Int32() with get,set member val Id:Int32 = new Int32() with get,set member val ModifiedDate:Nullable = new Nullable() 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 LicenseType() = inherit BaseModel() [] member val LicenseItems:IList = null with get,set [] member val Prices:IList = null with get,set [] member val PeriodOfNoticeDays:Int32 = new Int32() with get,set [] member val NextLicenseOption:LicenseType = null with get,set [] member val Name:String = null with get,set [] member val Description:String = null with get,set [] member val ExtraLicenseOption:Boolean = new Boolean() with get,set member val ModifiedDate:Nullable = new Nullable() with get,set member val Active:Boolean = new Boolean() with get,set member val Id:Int32 = new Int32() with get,set [] type License() = inherit BaseModel() member val Type:LicenseType = null with get,set [] member val CompanyId:Guid = new Guid() with get,set member val Id:Int32 = new Int32() with get,set [] member val TypeId:Int32 = new Int32() with get,set [] member val ValidFrom:DateTime = new DateTime() with get,set [] member val ValidTo:DateTime = new DateTime() with get,set [] member val Active:Boolean = new Boolean() with get,set [] member val Updated:DateTime = new DateTime() with get,set [] member val Created:DateTime = new DateTime() with get,set member val ModifiedDate:Nullable = new Nullable() with get,set member val MetaData: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 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 CompanyLicenseQuery() = inherit QueryDb() 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 /// ///If you want to include the connected license items /// [] member val OnlyActiveLicenses:Boolean = new Boolean() with get,set /// ///What country you want to list the prices for /// [] member val CountryId:String = null with get,set /// ///Search by the Meta data information on the license /// [] member val MetaData:String = null with get,set /// ///Id of the license type /// [] member val TypeId:Nullable = new Nullable() with get,set /// ///If you want to only select Extra license options /// [] member val IsExtraLicenseOption:Nullable = new Nullable() with get,set /// ///If you want to include the connected license items /// [] member val IncludeLicenseItems:Boolean = new Boolean() with get,set /// ///If you want to include the connected licens prices /// [] member val IncludeLicensePrices:Boolean = new Boolean() with get,set member val ResponseStatus:ResponseStatus = null with get,set