Table of Contents

Class GroupRelations

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

Used in GroupRelationViolatedException. When a user tries to remove a group but there are entities which are members of those groups the remove is blocked (fails) until the entities are moved out of the group which is to be removed. When the group remove operation fails, the exception returned is a GroupRelationViolatedException with populated GroupRelations to show which entities are blocking the group removal.

public class GroupRelations
Inheritance
GroupRelations
Inherited Members

Constructors

GroupRelations()

public GroupRelations()

Properties

AddInDatas

Gets or sets the AddInData(s) related to the Group.

public List<AddInData>? AddInDatas { get; set; }

Property Value

List<AddInData>

AddInData

CustomReportSchedules

Gets or sets the CustomReportSchedule(s) related to the Group.

public List<CustomReportSchedule>? CustomReportSchedules { get; set; }

Property Value

List<CustomReportSchedule>

CustomReportSchedules

Defects

Gets or sets the Defect(s) related to the Group.

public List<Defect>? Defects { get; set; }

Property Value

List<Defect>

Defects

DeviceAutoGroups

Gets or sets the Device(s) with auto groups related to the Group.

public List<Device>? DeviceAutoGroups { get; set; }

Property Value

List<Device>

DeviceAutoGroups

Devices

Gets or sets the Device(s) related to the Group.

public List<Device>? Devices { get; set; }

Property Value

List<Device>

Devices

Drivers

Gets or sets the Driver(s) related to the Group.

public List<User>? Drivers { get; set; }

Property Value

List<User>

Users

DvirLogs

Gets or sets the DVIRLog(s) related to the Group.

public List<DVIRLog>? DvirLogs { get; set; }

Property Value

List<DVIRLog>

DvirLogs

EventRules

Gets or sets the MaintenanceSchedule(s) related to the Group.

public List<MaintenanceSchedule>? EventRules { get; set; }

Property Value

List<MaintenanceSchedule>

Rules

Group

Gets or sets the Group which the entities are related to.

public Group? Group { get; set; }

Property Value

Group

Group

GroupFilters

Gets or sets the GroupFilters(s) related to the Group.

public List<GroupFilter>? GroupFilters { get; set; }

Property Value

List<GroupFilter>

GroupFilter

Presets

Gets or sets the Presets(s) related to the Group.

public List<Preset>? Presets { get; set; }

Property Value

List<Preset>

Rules

Rules

Gets or sets the Rule(s) related to the Group.

public List<Rule>? Rules { get; set; }

Property Value

List<Rule>

Rules

Trailers

Gets or sets the Trailer(s) related to the Group.

public List<Trailer>? Trailers { get; set; }

Property Value

List<Trailer>

Trailers

Users

Gets or sets the User(s) related to the Group.

public List<User>? Users { get; set; }

Property Value

List<User>

Users

Zones

Gets or sets the Zone(s) related to the Group.

public List<Zone>? Zones { get; set; }

Property Value

List<Zone>

Zones

Methods

Equals(object?)

Determines whether the specified GroupRelations, is equal to this instance.

public override bool Equals(object? obj)

Parameters

obj object

The GroupRelations to compare with this instance.

Returns

bool

true if the specified GroupRelations is equal to this instance; otherwise, false.

GetHashCode()

Returns a hash code for this instance.

public override int GetHashCode()

Returns

int

A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.