Table of Contents

Class Preset

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

Represents Diagnostics Columns Presets for the Asset Monitoring

public class Preset : Entity, IEntity, IComparable, IIdentifiable, IGroupLinked
Inheritance
Preset
Implements
Inherited Members

Constructors

Preset()

Initializes a new instance of the Preset class.

public Preset()

Preset(Id?)

Initializes a new instance of the Preset class.

public Preset(Id? identity)

Parameters

identity Id

The identity.

Preset(Id?, string?, IList<Group>?, IList<PresetColumn>?, bool)

Initializes a new instance of the Preset class.

public Preset(Id? identity, string? description, IList<Group>? groups, IList<PresetColumn>? columns, bool defaultPreset = false)

Parameters

identity Id

Id of this preset.

description string

description of the preset

groups IList<Group>

Group collection this preset belongs to.

columns IList<PresetColumn>

Diagnostics collection for this preset

defaultPreset bool

default/system presset

Properties

Columns

Gets or sets the group(s) this preset belongs to.

public IList<PresetColumn>? Columns { get; set; }

Property Value

IList<PresetColumn>

Groups

DefaultPreset

Gets or sets a value indicating whether gets or sets the preset description

public bool DefaultPreset { get; set; }

Property Value

bool

DefaultPreset for this mapping.

Description

Gets or sets the preset description

public string? Description { get; set; }

Property Value

string

Description for this mapping.

Groups

Gets or sets the group(s) this preset belongs to.

public IList<Group>? Groups { get; set; }

Property Value

IList<Group>

Groups

LastModified

Gets or sets last modified date time

public DateTime? LastModified { get; set; }

Property Value

DateTime?

LastModified for this mapping.

UpdatedByUserId

Gets or sets user who updated the preset

public Id? UpdatedByUserId { get; set; }

Property Value

Id

UpdatedByUserId for this mapping.

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.