(* Options: Date: 2024-12-22 21:47:49 Version: 8.51 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://blazor-gallery.servicestack.net //GlobalNamespace: //MakeDataContractsExtensible: False //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //ExportValueTypes: False IncludeTypes: CreateProfile.* //ExcludeTypes: //InitializeCollections: False //AddNamespaces: *) namespace MyApp.ServiceModel open System open System.IO open System.Collections open System.Collections.Generic open System.Runtime.Serialization open ServiceStack open ServiceStack.DataAnnotations type PlayerRole = | Leader = 0 | Player = 1 | NonPlayer = 2 type PlayerRegion = | Africa = 1 | Americas = 2 | Asia = 3 | Australasia = 4 | Europe = 5 [] type Profile() = inherit AuditBase() member val Id:Int32 = new Int32() with get,set member val Role:PlayerRole = new PlayerRole() with get,set member val Region:PlayerRegion = new PlayerRegion() with get,set member val Username:String = null with get,set member val HighScore:Int64 = new Int64() with get,set member val GamesPlayed:Int64 = new Int64() with get,set member val Energy:Int32 = new Int32() with get,set member val ProfileUrl:String = null with get,set member val CoverUrl:String = null with get,set member val Meta:Dictionary = null with get,set [] type CreateProfile() = interface IReturn member val Role:PlayerRole = new PlayerRole() with get,set member val Region:PlayerRegion = new PlayerRegion() with get,set [] member val Username:String = null with get,set member val HighScore:Int64 = new Int64() with get,set member val GamesPlayed:Int64 = new Int64() with get,set [] member val Energy:Int32 = new Int32() with get,set member val ProfileUrl:String = null with get,set member val CoverUrl:String = null with get,set