Table of Contents

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

id Id

The unique identifier for each DeviceMasterFlag. In the case of a database, this would be the autonumber Id field.

deviceId Id

The device id.

dateTime DateTime?

The datetime of master flag.

enabled bool?

Indicating if master flag is enabled.

masterFlag DevicePlanMasterFlag?

The master flag.

Properties

DateTime

Gets a value indicating the timestamp of master flag.

public DateTime? DateTime { get; }

Property Value

DateTime?

DateTime

Device

Gets the device.

public Device? Device { get; }

Property Value

Device

Device

DeviceId

Gets device id.

public Id? DeviceId { get; }

Property Value

Id

Id

Enabled

Gets a value indicating whether master flag is enabled.

public bool? Enabled { get; }

Property Value

bool?

bool

MasterFlag

Gets a value indicating device master flag.

public DevicePlanMasterFlag? MasterFlag { get; }

Property Value

DevicePlanMasterFlag?

DevicePlanMasterFlag

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

obj object

The object to compare with this instance.

Returns

bool

true if the specified object is equal to this instance; otherwise, false.

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()

Returns

string

A string that represents this instance.