Class CannedDeviceResponse
- Namespace
- Geotab.Checkmate.ObjectModel
- Assembly
- Geotab.Checkmate.ObjectModel.dll
Represents a canned response to a text message for a device. Used by Garmin service.
public class CannedDeviceResponse : Entity, IEntity, IComparable, IIdentifiable, IDeviceProvider
- Inheritance
-
CannedDeviceResponse
- Implements
- Inherited Members
Constructors
CannedDeviceResponse()
Initializes a new instance of the CannedDeviceResponse class.Creates a new instance of a. CannedDeviceResponse
public CannedDeviceResponse()
CannedDeviceResponse(Id)
Initializes a new instance of the CannedDeviceResponse class.Creates a new instance of a. CannedDeviceResponse
public CannedDeviceResponse(Id id)
Parameters
CannedDeviceResponse(Id?, Device?, string?, DateTime?, int?)
Initializes a new instance of the CannedDeviceResponse class.Creates a new instance of a. CannedDeviceResponse
public CannedDeviceResponse(Id? id, Device? device, string? response, DateTime? configurationTimeStamp, int? responseId)
Parameters
id
IdThe Id.
device
DeviceThe Device this response is for.
response
stringThe text message for this response.
configurationTimeStamp
DateTime?The DateTime this message has been configured on. DataStore.MinDateTime indicates it has not been configured.
responseId
int?The unique ID for the response. This is by device.
Properties
ConfigurationDateTime
Gets or sets the date when this CannedDeviceResponse has been configured on the device that needs to display it.
public DateTime? ConfigurationDateTime { get; set; }
Property Value
Device
Gets or sets the Device this response is associated with.
public Device? Device { get; set; }
Property Value
Response
Gets or sets the text that is displayed to the user.
public string? Response { get; set; }
Property Value
ResponseId
Gets or sets a unique id for this response. The unique ID is by device.
public int? ResponseId { get; set; }
Property Value
Methods
Clone()
Creates a new object that is a copy of the current instance.
public override IEntity Clone()
Returns
- IEntity
A new object that is a copy of this instance.