Class DriverWhiteListContent
- Namespace
- Geotab.Checkmate.ObjectModel
- Assembly
- Geotab.Checkmate.ObjectModel.dll
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
KeyThe driver key.
addToAuthList
boolIf set to true [add to auth list].
clearAuthList
boolIf 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
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; }