Class DeviceMasterFlag
- Namespace
- Geotab.Checkmate.ObjectModel
- Assembly
- Geotab.Checkmate.ObjectModel.dll
The master flag of a device.
public class DeviceMasterFlag : Entity, IEntity, IComparable, IIdentifiable, IDateTimeProvider, IDeviceProvider
- Inheritance
-
DeviceMasterFlag
- Implements
- Inherited Members
Constructors
DeviceMasterFlag()
Initializes a new instance of the DeviceMasterFlag class.
public DeviceMasterFlag()
DeviceMasterFlag(Id?, Id?, DateTime?, bool?, DevicePlanMasterFlag?)
Initializes a new instance of the DeviceMasterFlag class.
public DeviceMasterFlag(Id? id, Id? deviceId, DateTime? dateTime, bool? enabled, DevicePlanMasterFlag? masterFlag)
Parameters
idIdThe unique identifier for each DeviceMasterFlag. In the case of a database, this would be the autonumber Id field.
deviceIdIdThe device id.
dateTimeDateTime?The datetime of master flag.
enabledbool?Indicating if master flag is enabled.
masterFlagDevicePlanMasterFlag?The master flag.
Properties
DateTime
Gets a value indicating the timestamp of master flag.
public DateTime? DateTime { get; }
Property Value
Device
Gets the device.
public Device? Device { get; }
Property Value
DeviceId
Gets device id.
public Id? DeviceId { get; }
Property Value
Enabled
Gets a value indicating whether master flag is enabled.
public bool? Enabled { get; }
Property Value
MasterFlag
Gets a value indicating device master flag.
public DevicePlanMasterFlag? MasterFlag { get; }
Property Value
Methods
Clone()
Clones this instance.
public override IEntity Clone()
Returns
- IEntity
The cloned instance.
Equals(object?)
Determines whether the specified object, is equal to this instance.
public override bool Equals(object? obj)
Parameters
Returns
GetHashCode()
Returns a hash code for this instance.
public override int GetHashCode()
Returns
- int
A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
ToString()
Returns a string that represents this instance.
public override string ToString()