(* Options: Date: 2024-05-10 10:55:28 Version: 6.50 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://www.clubready.com/api/current //GlobalNamespace: //MakeDataContractsExtensible: False //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //ExportValueTypes: False IncludeTypes: CheckUsernameRequest.* //ExcludeTypes: //InitializeCollections: True //AddNamespaces: *) namespace ClubReady.Core.Api.Models open System open System.Collections open System.Collections.Generic open System.Runtime.Serialization open ServiceStack open ServiceStack.DataAnnotations type RestrictedResourceType = | Store = 0 | Chain = 1 | User = 2 | Undefined = 3 [] type IRestrictedApiRequest = abstract RestrictedId:Nullable with get,set abstract RestrictedResourceType:RestrictedResourceType with get,set [] type IApiKeyEndpoint = abstract ApiKey:String with get,set [] type ApiDtoBase() = member val ApiKey:String = null with get,set member val StoreId:Nullable = new Nullable() with get,set member val ChainId:Nullable = new Nullable() with get,set [] type IApiResponse = abstract StatusCode:Int32 with get,set abstract Message:String with get,set [] type CheckUsernameResponse() = member val Valid:Boolean = new Boolean() with get,set member val StatusCode:Int32 = new Int32() with get,set member val Message:String = null with get,set [] [] type CheckUsernameRequest() = inherit ApiDtoBase() interface IReturn /// ///Api Key - grants access to resources /// [] member val ApiKey:String = null with get,set /// ///StoreId OR ChainId is required /// [] member val StoreId:Nullable = new Nullable() with get,set /// ///StoreId OR ChainId is required /// [] member val ChainId:Nullable = new Nullable() with get,set /// ///Username should be between 4 and 255 characters long /// [] member val Username:String = null with get,set member val RestrictedId:Nullable = new Nullable() with get,set member val RestrictedResourceType:RestrictedResourceType = new RestrictedResourceType() with get,set