Class DriverAuthListContent
- Namespace
- Geotab.Checkmate.ObjectModel
- Assembly
- Geotab.Checkmate.ObjectModel.dll
public class DriverAuthListContent : DataToComponentContent, IBinaryPayload
- Inheritance
-
DriverAuthListContent
- Implements
- Derived
- Inherited Members
Constructors
DriverAuthListContent()
Initializes a new instance of the DriverAuthListContent class.
public DriverAuthListContent()
DriverAuthListContent(Key?, bool?, bool?)
Initializes a new instance of the DriverAuthListContent class.
public DriverAuthListContent(Key? driverKeyId, bool? addToAuthList, bool? clearAuthList)
Parameters
driverKeyId
KeyThe driver key.
addToAuthList
bool?If set to true [add to auth list].
clearAuthList
bool?If set to true [clear auth list].
Properties
AddToAuthList
Gets a value indicating whether to add to or remove from the auth list. If [true] "ClearAuthList" will be set to [false] and the driver will be added to the auth list. If [false] the driver will be removed from the auth list.
public bool? AddToAuthList { get; }
Property Value
ClearAuthList
Gets a value indicating whether to clear the auth list. If [true] "AddToAuthList" will be set to [false] and "DriverKey" will be set to [null].
public bool? ClearAuthList { get; }
Property Value
DriverKey
public Key? DriverKey { get; }
Property Value
Remarks
Key can be derived from a driver's "keys" property.
Methods
Clone()
Create a copy.
public override IBinaryPayload Clone()
Returns
- IBinaryPayload
The cloned instance.
GetData()
Gets the data for the payload.
protected override byte[] GetData()
Returns
- byte[]
The data.