/* Options:
Date: 2026-04-04 03:05:04
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
//MakeInternal: False
//MakeDataContractsExtensible: False
//AddNullableAnnotations: 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
*/
using System;
using System.IO;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using Eros.Subtle.Canvara.WebAPIModel.ServiceModel;
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.
///
[Api(Description="Logs details of an event(crash,error,unexpected result) and the device status at the time of the event.")]
public partial class LogDeviceStatus
: IReturn
{
///
///Guid of the Appliance this Device is logging an event status for.
///
[ApiMember(DataType="Guid", Description="Guid of the Appliance this Device is logging an event status for.", IsRequired=true, Name="ApplianceId", ParameterType="query")]
public virtual Guid ApplianceId { get; set; }
///
///Guid representing the saved Device
///
[ApiMember(DataType="Guid", Description="Guid representing the saved Device", IsRequired=true, Name="DeviceId", ParameterType="query")]
public virtual Guid DeviceId { get; set; }
///
///The latitude the device was last located at.
///
[ApiMember(DataType="double", Description="The latitude the device was last located at.", IsRequired=true, Name="Latitude", ParameterType="query")]
public virtual double Latitude { get; set; }
///
///The longitude the device was last located at.
///
[ApiMember(DataType="double", Description="The longitude the device was last located at.", IsRequired=true, Name="Longitude", ParameterType="query")]
public virtual double Longitude { get; set; }
///
///Name of the event we're logging.
///
[ApiMember(DataType="string", Description="Name of the event we're logging.", Name="EventName", ParameterType="query")]
public virtual string EventName { get; set; }
///
///Details of the event up to (255 char).
///
[ApiMember(DataType="string", Description="Details of the event up to (255 char).", Name="EventDetail1", ParameterType="query")]
public virtual string EventDetail1 { get; set; }
///
///Details of the event up to (255 char).
///
[ApiMember(DataType="string", Description="Details of the event up to (255 char).", Name="EventDetail2", ParameterType="query")]
public virtual string EventDetail2 { get; set; }
///
///Details of the event up to (255 char).
///
[ApiMember(DataType="string", Description="Details of the event up to (255 char).", Name="EventDetail3", ParameterType="query")]
public virtual string EventDetail3 { get; set; }
///
///Details of the event up to (255 char).
///
[ApiMember(DataType="string", Description="Details of the event up to (255 char).", Name="EventDetail4", ParameterType="query")]
public virtual string EventDetail4 { get; set; }
///
///Details of the event up to (255 char).
///
[ApiMember(DataType="string", Description="Details of the event up to (255 char).", Name="EventDetail5", ParameterType="query")]
public virtual string EventDetail5 { get; set; }
///
///Details of the event up to (255 char).
///
[ApiMember(DataType="string", Description="Details of the event up to (255 char).", Name="Orientation", ParameterType="query")]
public virtual string Orientation { get; set; }
///
///The device internet connection status.
///
[ApiMember(DataType="string", Description="The device internet connection status.", Name="InternetConnectionStatus", ParameterType="query")]
public virtual string InternetConnectionStatus { get; set; }
///
///Unlimited text field for logging details of the event.
///
[ApiMember(DataType="string", Description="Unlimited text field for logging details of the event.", Name="Log", ParameterType="query")]
public virtual string Log { get; set; }
///
///Date and Time of the event.
///
[ApiMember(DataType="DateTime", Description="Date and Time of the event.", Name="Event", ParameterType="query")]
public virtual DateTime Event { get; set; }
///
///True if the device is in portrait mode.
///
[ApiMember(DataType="bool", Description="True if the device is in portrait mode.", Name="IsInPortrait", ParameterType="query")]
public virtual bool IsInPortrait { get; set; }
///
///True if the device is in landscape mode.
///
[ApiMember(DataType="bool", Description="True if the device is in landscape mode.", Name="IsInLandscape", ParameterType="query")]
public virtual bool IsInLandscape { get; set; }
///
///True if cellular data is enabled.
///
[ApiMember(DataType="bool", Description="True if cellular data is enabled.", Name="CellularDataEnabled", ParameterType="query")]
public virtual bool CellularDataEnabled { get; set; }
///
///True if data roaming is enabled.
///
[ApiMember(DataType="bool", Description="True if data roaming is enabled.", Name="DataRoamingEnabled", ParameterType="query")]
public virtual bool DataRoamingEnabled { get; set; }
///
///True if the network is available.
///
[ApiMember(DataType="bool", Description="True if the network is available.", Name="IsNetworkAvailable", ParameterType="query")]
public virtual bool IsNetworkAvailable { get; set; }
///
///True if the device can send an sms.
///
[ApiMember(DataType="bool", Description="True if the device can send an sms.", Name="CanSendSMS", ParameterType="query")]
public virtual bool CanSendSMS { get; set; }
///
///True if the battery is charging.
///
[ApiMember(DataType="bool", Description="True if the battery is charging.", Name="BatteryCharging", ParameterType="query")]
public virtual bool BatteryCharging { get; set; }
///
///The amount of battery life left as a percentage.
///
[ApiMember(DataType="int", Description="The amount of battery life left as a percentage.", Name="BatteryLevel", ParameterType="query")]
public virtual int BatteryLevel { get; set; }
///
///The Guid of a saved Media Object.
///
[ApiMember(DataType="Guid", Description="The Guid of a saved Media Object.", Name="MediaFileId1", ParameterType="query")]
public virtual Guid MediaFileId1 { get; set; }
///
///The Guid of a saved Media Object.
///
[ApiMember(DataType="Guid", Description="The Guid of a saved Media Object.", Name="MediaFileId2", ParameterType="query")]
public virtual Guid MediaFileId2 { get; set; }
}
///
///Logs multiple device event details. Details include an event(crash,error,unexpected result) and the device status at the time of the event.
///
[Api(Description="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
: IReturn
{
///
///A list of logged event statuses for a device.
///
[ApiMember(DataType="int", Description="A list of logged event statuses for a device.", IsRequired=true, Name="DeviceStatuses", ParameterType="query")]
public virtual List DeviceStatuses { get; set; } = [];
}
}