(* Options: Date: 2026-04-04 03:05:08 Version: 8.52 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://pfapi.pstpf.com.au/api //GlobalNamespace: //MakeDataContractsExtensible: False //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //ExportValueTypes: False IncludeTypes: RegisterDevice.* //ExcludeTypes: //InitializeCollections: False //AddNamespaces: *) namespace Eros.Subtle.Canvara.WebAPIModel.ServiceModel open System open System.IO open System.Collections open System.Collections.Generic open System.Runtime.Serialization open ServiceStack open ServiceStack.DataAnnotations [] type DeviceTypeModel() = /// ///Guid representing the saved Device Type /// [] member val DeviceTypeId:Guid = new Guid() with get,set /// ///Guid representing the saved Device Class /// [] member val DeviceClassId:Guid = new Guid() with get,set /// ///The Device Class Name /// [] member val DeviceClassName:String = null with get,set /// ///The Device Brand. /// [] member val Brand:String = null with get,set /// ///The Device Model Name. /// [] member val ModelName:String = null with get,set /// ///The Device Form, e.g Phone | Tablet. /// [] member val FormFactor:String = null with get,set /// ///The Device Dimensions (Height x Width x Depth). /// [] member val Dimensions:String = null with get,set /// ///The Device display resolution width in pixels. /// [] member val DisplayResolutionWidthPixels:Nullable = new Nullable() with get,set /// ///The Device display resolution height in pixels. /// [] member val DisplayResolutionHeightPixels:Nullable = new Nullable() with get,set /// ///The Device display width size in inches. /// [] member val DisplaySizeWidthInches:Nullable = new Nullable() with get,set /// ///The Device display height size in inches. /// [] member val DisplaySizeHeightInches:Nullable = new Nullable() with get,set [] type DeviceHistoryModel() = /// ///Guid representing the current Device History /// [] member val DeviceHistoryId:Guid = new Guid() with get,set /// ///Guid representing the current Device History Device Configuration record. /// [] member val PrimaryDeviceHistoryDeviceConfigurationId:Guid = new Guid() with get,set /// ///The Device name. /// [] member val DeviceName:String = null with get,set /// ///The Device operating system. /// [] member val OperatingSystem:String = null with get,set /// ///The Device operating system version. /// [] member val OperatingSystemVersion:String = null with get,set /// ///The Device IP Address. /// [] member val IpAddress:String = null with get,set /// ///Any Notes about the device. /// [] member val Notes:String = null with get,set /// ///Total memory size available (in bytes). /// [] member val TotalMemorySize:Nullable = new Nullable() with get,set /// ///The Network provider name. /// [] member val CellularProviderName:String = null with get,set /// ///The Mobile Country Code the device is currently located in. /// [] member val MobileCountryCode:String = null with get,set /// ///The Mobile Network Code the device is currently using. /// [] member val MobileNetworkCode:String = null with get,set /// ///The Language Code Identifier that represents the language used on the device. /// [] member val LanguageCodeIdentifier:String = null with get,set /// ///The latitude the device was last located at. /// [] member val Latitude:Double = new Double() with get,set /// ///The longitude the device was last located at. /// [] member val Longitude:Double = new Double() with get,set [] [] type ResponseStatus() = [] member val ErrorCode:String = null with get,set [] member val Message:String = null with get,set [] member val StackTrace:String = null with get,set [] member val Errors:ResizeArray = null with get,set [] member val Meta:Dictionary = null with get,set [] type DeviceModel() = /// ///Guid representing the saved Device /// [] member val DeviceId:Guid = new Guid() with get,set /// ///Details of the Type of Device /// [] member val DeviceType:DeviceTypeModel = null with get,set /// ///Current saved settings of the Device /// [] member val CurrentHistory:DeviceHistoryModel = null with get,set /// ///The Device Model Name. /// [] member val ModelName:String = null with get,set /// ///The Device model number. /// [] member val ModelNumber:String = null with get,set /// ///The Device serial number. /// [] member val SerialNumber:String = null with get,set /// ///The Device manufacturers number. /// [] member val ManufacturerDeviceNumber:String = null with get,set /// ///The Device MAC Address. /// [] member val MacAddress:String = null with get,set /// ///The current value of InstanceSeed that the device has stored. If InstanceCounterLastValue has gone over 99999, this will contain a new seed value for the device. /// [] member val InstanceSeed:Int32 = new Int32() with get,set /// ///The current value of InstanceCounterLastValue that the device has stored /// [] member val InstanceCounterLastValue:Int32 = new Int32() with get,set /// ///ServiceStack ResponseStatus. /// [] member val ResponseStatus:ResponseStatus = null with get,set /// ///Saves/Updates a Devices details and registers that device with an appliance. /// [] [] type RegisterDevice() = interface IReturn /// ///Guid of the Appliance this Device is Registering under. /// [] member val ApplianceId:Guid = new Guid() with get,set /// ///Guid of the Device. If empty the Device will be inserted, if provided the device will be updated. /// [] member val DeviceId:Guid = new Guid() with get,set /// ///The Device manufacturers number. /// [] member val ManufacturerDeviceNumber:String = null with get,set /// ///The Device MAC Address. /// [] member val MacAddress:String = null with get,set /// ///The Device Model Name. /// [] member val ModelName:String = null with get,set /// ///The Device Form, e.g Phone | Tablet. /// [] member val FormFactor:String = null with get,set /// ///The Device Brand. /// [] member val Brand:String = null with get,set /// ///The Device Dimensions (Height x Width x Depth). /// [] member val Dimensions:String = null with get,set /// ///The Device display resolution width in pixels. /// [] member val DisplayResolutionWidthPixels:Nullable = new Nullable() with get,set /// ///The Device display resolution height in pixels. /// [] member val DisplayResolutionHeightPixels:Nullable = new Nullable() with get,set /// ///The Device display width size in inches. /// [] member val DisplaySizeWidthInches:Nullable = new Nullable() with get,set /// ///The Device display height size in inches. /// [] member val DisplaySizeHeightInches:Nullable = new Nullable() with get,set /// ///The Device operating system. /// [] member val OperatingSystem:String = null with get,set /// ///The Device operating system version. /// [] member val OperatingSystemVersion:String = null with get,set /// ///The Device IP Address. /// [] member val IpAddress:String = null with get,set /// ///Any Notes about the device. /// [] member val Notes:String = null with get,set /// ///Total memory size available (in bytes). /// [] member val TotalMemorySize:Nullable = new Nullable() with get,set /// ///The Network provider name. /// [] member val CellularProviderName:String = null with get,set /// ///The ISO Country Code of the country the device is currently located in. /// [] member val ISOCountryCode:String = null with get,set /// ///The Mobile Country Code the device is currently located in. /// [] member val MobileCountryCode:String = null with get,set /// ///The Mobile Network Code the device is currently using. /// [] member val MobileNetworkCode:String = null with get,set /// ///The Language Code Identifier that represents the language used on the device. /// [] member val LanguageCodeIdentifier:String = null with get,set /// ///The name of the Timezone the device was last used in. /// [] member val LastKnownTimeZone:String = null with get,set /// ///The UTC Offset of the Timezone the device was last used in. Formatted as +-##:## /// [] member val LastKnownTimeZoneOffset:String = null with get,set /// ///The latitude the device was last located at. /// [] member val Latitude:Double = new Double() with get,set /// ///The longitude the device was last located at. /// [] member val Longitude:Double = new Double() with get,set /// ///The current value of InstanceSeed that the device has stored. /// [] member val InstanceSeed:Int32 = new Int32() with get,set /// ///The current value of InstanceCounterLastValue that the device has stored /// [] member val InstanceCounterLastValue:Int32 = new Int32() with get,set