/* Options: Date: 2026-04-04 06:43:38 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: RegisterDevice.* //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 { public partial class DeviceHistoryModel { /// ///Guid representing the current Device History /// [ApiMember(DataType="Guid", Description="Guid representing the current Device History", Name="DeviceHistoryId", ParameterType="query")] public virtual Guid DeviceHistoryId { get; set; } /// ///Guid representing the current Device History Device Configuration record. /// [ApiMember(DataType="Guid", Description="Guid representing the current Device History Device Configuration record.", Name="PrimaryDeviceHistoryDeviceConfigurationId", ParameterType="query")] public virtual Guid PrimaryDeviceHistoryDeviceConfigurationId { get; set; } /// ///The Device name. /// [ApiMember(DataType="string", Description="The Device name.", Name="DeviceName", ParameterType="query")] public virtual string DeviceName { get; set; } /// ///The Device operating system. /// [ApiMember(DataType="string", Description="The Device operating system.", Name="OperatingSystem", ParameterType="query")] public virtual string OperatingSystem { get; set; } /// ///The Device operating system version. /// [ApiMember(DataType="string", Description="The Device operating system version.", Name="OperatingSystemVersion", ParameterType="query")] public virtual string OperatingSystemVersion { get; set; } /// ///The Device IP Address. /// [ApiMember(DataType="string", Description="The Device IP Address.", Name="IpAddress", ParameterType="query")] public virtual string IpAddress { get; set; } /// ///Any Notes about the device. /// [ApiMember(DataType="string", Description="Any Notes about the device.", Name="Notes", ParameterType="query")] public virtual string Notes { get; set; } /// ///Total memory size available (in bytes). /// [ApiMember(DataType="string", Description="Total memory size available (in bytes).", Name="TotalMemorySize", ParameterType="query")] public virtual int? TotalMemorySize { get; set; } /// ///The Network provider name. /// [ApiMember(DataType="string", Description="The Network provider name.", Name="CellularProviderName", ParameterType="query")] public virtual string CellularProviderName { get; set; } /// ///The Mobile Country Code the device is currently located in. /// [ApiMember(DataType="string", Description="The Mobile Country Code the device is currently located in.", Name="MobileCountryCode", ParameterType="query")] public virtual string MobileCountryCode { get; set; } /// ///The Mobile Network Code the device is currently using. /// [ApiMember(DataType="string", Description="The Mobile Network Code the device is currently using.", Name="MobileNetworkCode", ParameterType="query")] public virtual string MobileNetworkCode { get; set; } /// ///The Language Code Identifier that represents the language used on the device. /// [ApiMember(DataType="string", Description="The Language Code Identifier that represents the language used on the device.", Name="LanguageCodeIdentifier", ParameterType="query")] public virtual string LanguageCodeIdentifier { get; set; } /// ///The latitude the device was last located at. /// [ApiMember(DataType="double", Description="The latitude the device was last located at.", 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.", Name="Longitude", ParameterType="query")] public virtual double Longitude { get; set; } } public partial class DeviceModel { /// ///Guid representing the saved Device /// [ApiMember(DataType="Guid", Description="Guid representing the saved Device", Name="DeviceId", ParameterType="query")] public virtual Guid DeviceId { get; set; } /// ///Details of the Type of Device /// [ApiMember(DataType="DeviceTypeModel", Description="Details of the Type of Device", Name="DeviceType", ParameterType="query")] public virtual DeviceTypeModel DeviceType { get; set; } /// ///Current saved settings of the Device /// [ApiMember(DataType="DeviceHistoryModel", Description="Current saved settings of the Device", Name="CurrentHistory", ParameterType="query")] public virtual DeviceHistoryModel CurrentHistory { get; set; } /// ///The Device Model Name. /// [ApiMember(DataType="string", Description="The Device Model Name.", IsRequired=true, Name="ModelName", ParameterType="query")] public virtual string ModelName { get; set; } /// ///The Device model number. /// [ApiMember(DataType="string", Description="The Device model number.", Name="ModelNumber", ParameterType="query")] public virtual string ModelNumber { get; set; } /// ///The Device serial number. /// [ApiMember(DataType="string", Description="The Device serial number.", Name="SerialNumber", ParameterType="query")] public virtual string SerialNumber { get; set; } /// ///The Device manufacturers number. /// [ApiMember(DataType="string", Description="The Device manufacturers number.", Name="ManufacturerDeviceNumber", ParameterType="query")] public virtual string ManufacturerDeviceNumber { get; set; } /// ///The Device MAC Address. /// [ApiMember(DataType="string", Description="The Device MAC Address.", Name="MacAddress", ParameterType="query")] public virtual string MacAddress { 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. /// [ApiMember(DataType="int", Description="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.", IsRequired=true, Name="InstanceSeed", ParameterType="query")] public virtual int InstanceSeed { get; set; } /// ///The current value of InstanceCounterLastValue that the device has stored /// [ApiMember(DataType="int", Description="The current value of InstanceCounterLastValue that the device has stored", IsRequired=true, Name="InstanceCounterLastValue", ParameterType="query")] public virtual int InstanceCounterLastValue { get; set; } /// ///ServiceStack ResponseStatus. /// [ApiMember(DataType="ResponseStatus", Description="ServiceStack ResponseStatus.", Name="ResponseStatus", ParameterType="query")] public virtual ResponseStatus ResponseStatus { get; set; } } public partial class DeviceTypeModel { /// ///Guid representing the saved Device Type /// [ApiMember(DataType="Guid", Description="Guid representing the saved Device Type", Name="DeviceTypeId", ParameterType="query")] public virtual Guid DeviceTypeId { get; set; } /// ///Guid representing the saved Device Class /// [ApiMember(DataType="Guid", Description="Guid representing the saved Device Class", Name="DeviceClassId", ParameterType="query")] public virtual Guid DeviceClassId { get; set; } /// ///The Device Class Name /// [ApiMember(DataType="string", Description="The Device Class Name", Name="DeviceClassName", ParameterType="query")] public virtual string DeviceClassName { get; set; } /// ///The Device Brand. /// [ApiMember(DataType="string", Description="The Device Brand.", Name="Brand", ParameterType="query")] public virtual string Brand { get; set; } /// ///The Device Model Name. /// [ApiMember(DataType="string", Description="The Device Model Name.", IsRequired=true, Name="ModelName", ParameterType="query")] public virtual string ModelName { get; set; } /// ///The Device Form, e.g Phone | Tablet. /// [ApiMember(DataType="string", Description="The Device Form, e.g Phone | Tablet.", Name="FormFactor", ParameterType="query")] public virtual string FormFactor { get; set; } /// ///The Device Dimensions (Height x Width x Depth). /// [ApiMember(DataType="string", Description="The Device Dimensions (Height x Width x Depth).", Name="Dimensions", ParameterType="query")] public virtual string Dimensions { get; set; } /// ///The Device display resolution width in pixels. /// [ApiMember(DataType="int", Description="The Device display resolution width in pixels.", Name="DisplayResolutionWidthPixels", ParameterType="query")] public virtual int? DisplayResolutionWidthPixels { get; set; } /// ///The Device display resolution height in pixels. /// [ApiMember(DataType="int", Description="The Device display resolution height in pixels.", Name="DisplayResolutionHeightPixels", ParameterType="query")] public virtual int? DisplayResolutionHeightPixels { get; set; } /// ///The Device display width size in inches. /// [ApiMember(DataType="decimal", Description="The Device display width size in inches.", Name="DisplaySizeWidthInches", ParameterType="query")] public virtual decimal? DisplaySizeWidthInches { get; set; } /// ///The Device display height size in inches. /// [ApiMember(DataType="decimal", Description="The Device display height size in inches.", Name="DisplaySizeHeightInches", ParameterType="query")] public virtual decimal? DisplaySizeHeightInches { get; set; } } /// ///Saves/Updates a Devices details and registers that device with an appliance. /// [Api(Description="Saves/Updates a Devices details and registers that device with an appliance.")] public partial class RegisterDevice : IReturn { /// ///Guid of the Appliance this Device is Registering under. /// [ApiMember(DataType="Guid", Description="Guid of the Appliance this Device is Registering under.", IsRequired=true, Name="ApplianceId", ParameterType="query")] public virtual Guid ApplianceId { get; set; } /// ///Guid of the Device. If empty the Device will be inserted, if provided the device will be updated. /// [ApiMember(DataType="Guid", Description="Guid of the Device. If empty the Device will be inserted, if provided the device will be updated.", IsRequired=true, Name="DeviceId", ParameterType="query")] public virtual Guid DeviceId { get; set; } /// ///The Device manufacturers number. /// [ApiMember(DataType="string", Description="The Device manufacturers number.", Name="ManufacturerDeviceNumber", ParameterType="query")] public virtual string ManufacturerDeviceNumber { get; set; } /// ///The Device MAC Address. /// [ApiMember(DataType="string", Description="The Device MAC Address.", Name="MacAddress", ParameterType="query")] public virtual string MacAddress { get; set; } /// ///The Device Model Name. /// [ApiMember(DataType="string", Description="The Device Model Name.", IsRequired=true, Name="ModelName", ParameterType="query")] public virtual string ModelName { get; set; } /// ///The Device Form, e.g Phone | Tablet. /// [ApiMember(DataType="string", Description="The Device Form, e.g Phone | Tablet.", IsRequired=true, Name="FormFactor", ParameterType="query")] public virtual string FormFactor { get; set; } /// ///The Device Brand. /// [ApiMember(DataType="string", Description="The Device Brand.", Name="Brand", ParameterType="query")] public virtual string Brand { get; set; } /// ///The Device Dimensions (Height x Width x Depth). /// [ApiMember(DataType="string", Description="The Device Dimensions (Height x Width x Depth).", Name="Dimensions", ParameterType="query")] public virtual string Dimensions { get; set; } /// ///The Device display resolution width in pixels. /// [ApiMember(DataType="int", Description="The Device display resolution width in pixels.", Name="DisplayResolutionWidthPixels", ParameterType="query")] public virtual int? DisplayResolutionWidthPixels { get; set; } /// ///The Device display resolution height in pixels. /// [ApiMember(DataType="int", Description="The Device display resolution height in pixels.", Name="DisplayResolutionHeightPixels", ParameterType="query")] public virtual int? DisplayResolutionHeightPixels { get; set; } /// ///The Device display width size in inches. /// [ApiMember(DataType="decimal", Description="The Device display width size in inches.", Name="DisplaySizeWidthInches", ParameterType="query")] public virtual decimal? DisplaySizeWidthInches { get; set; } /// ///The Device display height size in inches. /// [ApiMember(DataType="decimal", Description="The Device display height size in inches.", Name="DisplaySizeHeightInches", ParameterType="query")] public virtual decimal? DisplaySizeHeightInches { get; set; } /// ///The Device operating system. /// [ApiMember(DataType="string", Description="The Device operating system.", Name="OperatingSystem", ParameterType="query")] public virtual string OperatingSystem { get; set; } /// ///The Device operating system version. /// [ApiMember(DataType="string", Description="The Device operating system version.", Name="OperatingSystemVersion", ParameterType="query")] public virtual string OperatingSystemVersion { get; set; } /// ///The Device IP Address. /// [ApiMember(DataType="string", Description="The Device IP Address.", Name="IpAddress", ParameterType="query")] public virtual string IpAddress { get; set; } /// ///Any Notes about the device. /// [ApiMember(DataType="string", Description="Any Notes about the device.", Name="Notes", ParameterType="query")] public virtual string Notes { get; set; } /// ///Total memory size available (in bytes). /// [ApiMember(DataType="string", Description="Total memory size available (in bytes).", Name="TotalMemorySize", ParameterType="query")] public virtual int? TotalMemorySize { get; set; } /// ///The Network provider name. /// [ApiMember(DataType="string", Description="The Network provider name.", Name="CellularProviderName", ParameterType="query")] public virtual string CellularProviderName { get; set; } /// ///The ISO Country Code of the country the device is currently located in. /// [ApiMember(DataType="string", Description="The ISO Country Code of the country the device is currently located in.", Name="ISOCountryCode", ParameterType="query")] public virtual string ISOCountryCode { get; set; } /// ///The Mobile Country Code the device is currently located in. /// [ApiMember(DataType="string", Description="The Mobile Country Code the device is currently located in.", Name="MobileCountryCode", ParameterType="query")] public virtual string MobileCountryCode { get; set; } /// ///The Mobile Network Code the device is currently using. /// [ApiMember(DataType="string", Description="The Mobile Network Code the device is currently using.", Name="MobileNetworkCode", ParameterType="query")] public virtual string MobileNetworkCode { get; set; } /// ///The Language Code Identifier that represents the language used on the device. /// [ApiMember(DataType="string", Description="The Language Code Identifier that represents the language used on the device.", Name="LanguageCodeIdentifier", ParameterType="query")] public virtual string LanguageCodeIdentifier { get; set; } /// ///The name of the Timezone the device was last used in. /// [ApiMember(DataType="string", Description="The name of the Timezone the device was last used in.", Name="LastKnownTimeZone", ParameterType="query")] public virtual string LastKnownTimeZone { get; set; } /// ///The UTC Offset of the Timezone the device was last used in. Formatted as +-##:## /// [ApiMember(DataType="string", Description="The UTC Offset of the Timezone the device was last used in. Formatted as +-##:##", Name="LastKnownTimeZoneOffset", ParameterType="query")] public virtual string LastKnownTimeZoneOffset { 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; } /// ///The current value of InstanceSeed that the device has stored. /// [ApiMember(DataType="int", Description="The current value of InstanceSeed that the device has stored.", IsRequired=true, Name="InstanceSeed", ParameterType="query")] public virtual int InstanceSeed { get; set; } /// ///The current value of InstanceCounterLastValue that the device has stored /// [ApiMember(DataType="int", Description="The current value of InstanceCounterLastValue that the device has stored", IsRequired=true, Name="InstanceCounterLastValue", ParameterType="query")] public virtual int InstanceCounterLastValue { get; set; } } } namespace ServiceStack { [DataContract] public partial class ResponseStatus : IMeta { [DataMember(Order=1)] public virtual string ErrorCode { get; set; } [DataMember(Order=2)] public virtual string Message { get; set; } [DataMember(Order=3)] public virtual string StackTrace { get; set; } [DataMember(Order=4)] public virtual List Errors { get; set; } [DataMember(Order=5)] public virtual Dictionary Meta { get; set; } } }