Class GoDriveDevice
- Namespace
- Geotab.Checkmate.ObjectModel
- Assembly
- Geotab.Checkmate.ObjectModel.dll
A mobile tracking device that is used in MyGeotab. This is used for extensibility and is based on the Device object.
public class GoDriveDevice : Device, IEntity, IComparable, IIdentifiable, IVersion, IGroupLinked, ITimeZoneIdProvider, IDefaultable, ICustomizable<Device>, IMediaFiles, IInstanceSizeEstimate
- Inheritance
-
GoDriveDevice
- Implements
- Inherited Members
Constructors
GoDriveDevice()
Initializes a new instance of the GoDriveDevice class.
public GoDriveDevice()
GoDriveDevice(Id?, long?, string?, string?, int?, TimeSpan?, DateTime?, int?, string?, WorkTime?, float?, IList<Group>?, string?, DeviceFlags?, DateTime?, DateTime?, IReadOnlyList<DevicePlanBillingInfo>?, List<PropertyValue<Device>>?)
Initializes a new instance of the GoDriveDevice class.Initializes a new instance of the Device class.
public GoDriveDevice(Id? id, long? version, string? name, string? comment, int? productId, TimeSpan? timeToDownload, DateTime? ignoreDownloadsUntil, int? hardwareId, string? serialNumber, WorkTime? workTime, float? maxSecondsBetweenLogs, IList<Group>? groups, string? timeZoneId, DeviceFlags? deviceFlags, DateTime? activeTo, DateTime? activeFrom, IReadOnlyList<DevicePlanBillingInfo>? devicePlanBillingInfo, List<PropertyValue<Device>>? customProperties)
Parameters
idIdThe Id.
versionlong?The version.
namestringThe name.
commentstringThe comment.
productIdint?The product id.
timeToDownloadTimeSpan?The time to download.
ignoreDownloadsUntilDateTime?The ignore downloads until.
hardwareIdint?The hardware id.
serialNumberstringThe serial number of the device.
workTimeWorkTimeA WorkTime object.
maxSecondsBetweenLogsfloat?The max number of seconds between receiving logs from the device. If exceeded, data is considered missing. Must be at least 200s.
groupsIList<Group>The collection of Group(s) this GoDriveDevice belongs to.
timeZoneIdstringThe Timezone Id.
deviceFlagsDeviceFlagsThe DevicePlan this device is on.
activeToDateTime?Date after which device becomes archived.
activeFromDateTime?Date after which device becomes active.
devicePlanBillingInfoIReadOnlyList<DevicePlanBillingInfo>The device plan billing information.
customPropertiesList<PropertyValue<Device>>The custom properties and its associated PropertyValue<T>s for this device.
Methods
Clone()
Creates a new object that is a copy of the current instance.
public override IEntity Clone()
Returns
- IEntity
A new object that is a copy of this instance.