' Options: 'Date: 2026-04-04 08:36:22 'Version: 8.52 'Tip: To override a DTO option, remove "''" prefix before updating 'BaseUrl: https://pfapi.pstpf.com.au/api ' '''GlobalNamespace: '''MakePartial: True '''MakeVirtual: True '''MakeDataContractsExtensible: False '''AddReturnMarker: True '''AddDescriptionAsComments: True '''AddDataContractAttributes: False '''AddIndexesToDataMembers: False '''AddGeneratedCodeAttributes: False '''AddResponseStatus: False '''AddImplicitVersion: '''InitializeCollections: False '''ExportValueTypes: False 'IncludeTypes: LogDeviceStatuses.* '''ExcludeTypes: '''AddNamespaces: '''AddDefaultXmlNamespace: http://schemas.servicestack.net/types Imports System Imports System.IO Imports System.Collections Imports System.Collections.Generic Imports System.Runtime.Serialization Imports ServiceStack Imports ServiceStack.DataAnnotations Imports Eros.Subtle.Canvara.WebAPIModel.ServiceModel Namespace Global Namespace Eros.Subtle.Canvara.WebAPIModel.ServiceModel ''' '''Logs details of an event(crash,error,unexpected result) and the device status at the time of the event. ''' Public Partial Class LogDeviceStatus Implements IReturn(Of ResponseStatus) ''' '''Guid of the Appliance this Device is logging an event status for. ''' Public Overridable Property ApplianceId As Guid ''' '''Guid representing the saved Device ''' Public Overridable Property DeviceId As Guid ''' '''The latitude the device was last located at. ''' Public Overridable Property Latitude As Double ''' '''The longitude the device was last located at. ''' Public Overridable Property Longitude As Double ''' '''Name of the event we're logging. ''' Public Overridable Property EventName As String ''' '''Details of the event up to (255 char). ''' Public Overridable Property EventDetail1 As String ''' '''Details of the event up to (255 char). ''' Public Overridable Property EventDetail2 As String ''' '''Details of the event up to (255 char). ''' Public Overridable Property EventDetail3 As String ''' '''Details of the event up to (255 char). ''' Public Overridable Property EventDetail4 As String ''' '''Details of the event up to (255 char). ''' Public Overridable Property EventDetail5 As String ''' '''Details of the event up to (255 char). ''' Public Overridable Property Orientation As String ''' '''The device internet connection status. ''' Public Overridable Property InternetConnectionStatus As String ''' '''Unlimited text field for logging details of the event. ''' Public Overridable Property Log As String ''' '''Date and Time of the event. ''' Public Overridable Property [Event] As Date ''' '''True if the device is in portrait mode. ''' Public Overridable Property IsInPortrait As Boolean ''' '''True if the device is in landscape mode. ''' Public Overridable Property IsInLandscape As Boolean ''' '''True if cellular data is enabled. ''' Public Overridable Property CellularDataEnabled As Boolean ''' '''True if data roaming is enabled. ''' Public Overridable Property DataRoamingEnabled As Boolean ''' '''True if the network is available. ''' Public Overridable Property IsNetworkAvailable As Boolean ''' '''True if the device can send an sms. ''' Public Overridable Property CanSendSMS As Boolean ''' '''True if the battery is charging. ''' Public Overridable Property BatteryCharging As Boolean ''' '''The amount of battery life left as a percentage. ''' Public Overridable Property BatteryLevel As Integer ''' '''The Guid of a saved Media Object. ''' Public Overridable Property MediaFileId1 As Guid ''' '''The Guid of a saved Media Object. ''' Public Overridable Property MediaFileId2 As Guid End Class ''' '''Logs multiple device event details. Details include an event(crash,error,unexpected result) and the device status at the time of the event. ''' Public Partial Class LogDeviceStatuses Implements IReturn(Of ResponseStatus) ''' '''A list of logged event statuses for a device. ''' Public Overridable Property DeviceStatuses As List(Of LogDeviceStatus) = New List(Of LogDeviceStatus) End Class End Namespace End Namespace