Table of Contents

Class DriverWhiteListContent

Namespace
Geotab.Checkmate.ObjectModel
Assembly
Geotab.Checkmate.ObjectModel.dll

Message content to control a GoDevice's Driver white list.

public class DriverWhiteListContent : DriverAuthListContent, IBinaryPayload
Inheritance
DriverWhiteListContent
Implements
Inherited Members

Constructors

DriverWhiteListContent(Key?, bool, bool)

Initializes a new instance of the DriverWhiteListContent class.

public DriverWhiteListContent(Key? driverKeyId, bool addToAuthList, bool clearAuthList)

Parameters

driverKeyId Key

The driver key.

addToAuthList bool

If set to true [add to auth list].

clearAuthList bool

If set to true [clear auth list].

Properties

AddToWhiteList

Gets a value indicating whether to add to or remove from the white list. If [true] "ClearWhiteList" will be set to [false] and the driver will be added to the white list. If [false] the driver will be removed from the white list.

public bool? AddToWhiteList { get; }

Property Value

bool?

bool

ClearWhiteList

Gets a value indicating whether to clear the white list. If [true] "AddToWhiteList" will be set to [false] and "DriverKey" will be set to [null].

public bool? ClearWhiteList { get; }

Property Value

bool?

bool