Table of Contents

Class SafetyFleetCluster

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

Represents a safety fleet cluster entity.

public sealed class SafetyFleetCluster : AggregatedDataEntity, IEntity, IComparable, IIdentifiable
Inheritance
SafetyFleetCluster
Implements
Inherited Members

Constructors

SafetyFleetCluster()

Initializes a new instance of the SafetyFleetCluster class.

public SafetyFleetCluster()

SafetyFleetCluster(Id, DateTime?)

Initializes a new instance of the SafetyFleetCluster class with a specified identifier.

public SafetyFleetCluster(Id id, DateTime? lastUpdated)

Parameters

id Id

The unique identifier.

lastUpdated DateTime?

The version of the entity.

SafetyFleetCluster(Id?, DateTime?, DateTime?, int?, string, int?, int?)

Initializes a new instance of the SafetyFleetCluster class with specified parameters.

public SafetyFleetCluster(Id? id, DateTime? observationDate, DateTime? lastUpdated, int? clusterNo, string clusterDescription, int? fleetsInCluster, int? vehiclesInCluster)

Parameters

id Id

The unique identifier.

observationDate DateTime?

The observation date.

lastUpdated DateTime?

The insertion date.

clusterNo int?

The cluster number.

clusterDescription string

The cluster description.

fleetsInCluster int?

The number of fleets in the cluster.

vehiclesInCluster int?

The number of vehicles in the cluster.

Properties

ClusterDescription

Gets or sets the cluster description.

public string? ClusterDescription { get; set; }

Property Value

string

The cluster description

ClusterNo

Gets or sets the cluster number.

public int? ClusterNo { get; set; }

Property Value

int?

The cluster number

FleetsInCluster

Gets or sets the number of fleets in the cluster.

public int? FleetsInCluster { get; set; }

Property Value

int?

The number of fleets in the cluster

ObservationDate

Gets or sets the observation date.

public DateTime? ObservationDate { get; set; }

Property Value

DateTime?

The observation date

VehiclesInCluster

Gets or sets the number of vehicles in the cluster.

public int? VehiclesInCluster { get; set; }

Property Value

int?

The number of vehicles in the cluster

Methods

Clone()

Creates a copy of the current instance.

public override IEntity Clone()

Returns

IEntity

A new object that is a copy of the current instance.