(* Options:
Date: 2026-04-04 03:06:47
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: LogDeviceStatus.*
//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
///
///Logs details of an event(crash,error,unexpected result) and the device status at the time of the event.
///
[]
[]
type LogDeviceStatus() =
interface IReturn
///
///Guid of the Appliance this Device is logging an event status for.
///
[]
member val ApplianceId:Guid = new Guid() with get,set
///
///Guid representing the saved Device
///
[]
member val DeviceId:Guid = new Guid() 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
///
///Name of the event we're logging.
///
[]
member val EventName:String = null with get,set
///
///Details of the event up to (255 char).
///
[]
member val EventDetail1:String = null with get,set
///
///Details of the event up to (255 char).
///
[]
member val EventDetail2:String = null with get,set
///
///Details of the event up to (255 char).
///
[]
member val EventDetail3:String = null with get,set
///
///Details of the event up to (255 char).
///
[]
member val EventDetail4:String = null with get,set
///
///Details of the event up to (255 char).
///
[]
member val EventDetail5:String = null with get,set
///
///Details of the event up to (255 char).
///
[]
member val Orientation:String = null with get,set
///
///The device internet connection status.
///
[]
member val InternetConnectionStatus:String = null with get,set
///
///Unlimited text field for logging details of the event.
///
[]
member val Log:String = null with get,set
///
///Date and Time of the event.
///
[]
member val Event:DateTime = new DateTime() with get,set
///
///True if the device is in portrait mode.
///
[]
member val IsInPortrait:Boolean = new Boolean() with get,set
///
///True if the device is in landscape mode.
///
[]
member val IsInLandscape:Boolean = new Boolean() with get,set
///
///True if cellular data is enabled.
///
[]
member val CellularDataEnabled:Boolean = new Boolean() with get,set
///
///True if data roaming is enabled.
///
[]
member val DataRoamingEnabled:Boolean = new Boolean() with get,set
///
///True if the network is available.
///
[]
member val IsNetworkAvailable:Boolean = new Boolean() with get,set
///
///True if the device can send an sms.
///
[]
member val CanSendSMS:Boolean = new Boolean() with get,set
///
///True if the battery is charging.
///
[]
member val BatteryCharging:Boolean = new Boolean() with get,set
///
///The amount of battery life left as a percentage.
///
[]
member val BatteryLevel:Int32 = new Int32() with get,set
///
///The Guid of a saved Media Object.
///
[]
member val MediaFileId1:Guid = new Guid() with get,set
///
///The Guid of a saved Media Object.
///
[]
member val MediaFileId2:Guid = new Guid() with get,set