Table of Contents

Class ReplacementStatus

Namespace
Geotab.Checkmate.ObjectModel.DeviceReplacement
Assembly
Geotab.Checkmate.ObjectModel.dll

The replacement status of a given DeviceReplacementInfo.

public abstract class ReplacementStatus : Entity, IEntity, IComparable, IIdentifiable
Inheritance
ReplacementStatus
Implements
Derived
Inherited Members

Constructors

ReplacementStatus(Id)

Initializes a new instance of the ReplacementStatus class.

protected ReplacementStatus(Id id)

Parameters

id Id

The Id.

Properties

Id

Gets or sets the unique identifier for the specific Entity object in the Geotab system. See Id.

public override Id? Id { get; set; }

Property Value

Id

returns. Id

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.

GetShortValue()

Get the Id value.

public short GetShortValue()

Returns

short

short

Exceptions

InvalidOperationException

If status has null Id.

IsSystemEntity()

Returns true if the class is a system entity, false otherwise.

public override bool IsSystemEntity()

Returns

bool

true if the entity is a system entity; otherwise, false.

SystemFromId(Id)

Returns a Replacement Status from the provided system Id else an Unknown Replacement Status.

public static ReplacementStatus SystemFromId(Id id)

Parameters

id Id

The id.

Returns

ReplacementStatus

The ReplacementStatus.