Table of Contents

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

id Id

Id

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 Id

The Id.

device Device

The Device this response is for.

response string

The 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

DateTime?

DateTime

Device

Gets or sets the Device this response is associated with.

public Device? Device { get; set; }

Property Value

Device

Device

Response

Gets or sets the text that is displayed to the user.

public string? Response { get; set; }

Property Value

string

string

ResponseId

Gets or sets a unique id for this response. The unique ID is by device.

public int? ResponseId { get; set; }

Property Value

int?

int

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.