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
CustomReportSchedules
Gets or sets the CustomReportSchedule(s) related to the Group.
public List<CustomReportSchedule>? CustomReportSchedules { get; set; }
Property Value
Defects
Gets or sets the Defect(s) related to the Group.
public List<Defect>? Defects { get; set; }
Property Value
DeviceAutoGroups
Gets or sets the Device(s) with auto groups related to the Group.
public List<Device>? DeviceAutoGroups { get; set; }
Property Value
Devices
Gets or sets the Device(s) related to the Group.
public List<Device>? Devices { get; set; }
Property Value
Drivers
Gets or sets the Driver(s) related to the Group.
public List<User>? Drivers { get; set; }
Property Value
DvirLogs
Gets or sets the DVIRLog(s) related to the Group.
public List<DVIRLog>? DvirLogs { get; set; }
Property Value
EventRules
Gets or sets the MaintenanceSchedule(s) related to the Group.
public List<MaintenanceSchedule>? EventRules { get; set; }
Property Value
Group
Gets or sets the Group which the entities are related to.
public Group? Group { get; set; }
Property Value
GroupFilters
Gets or sets the GroupFilters(s) related to the Group.
public List<GroupFilter>? GroupFilters { get; set; }
Property Value
Presets
Gets or sets the Presets(s) related to the Group.
public List<Preset>? Presets { get; set; }
Property Value
Rules
Gets or sets the Rule(s) related to the Group.
public List<Rule>? Rules { get; set; }
Property Value
Trailers
Gets or sets the Trailer(s) related to the Group.
public List<Trailer>? Trailers { get; set; }
Property Value
Users
Gets or sets the User(s) related to the Group.
public List<User>? Users { get; set; }
Property Value
Zones
Gets or sets the Zone(s) related to the Group.
public List<Zone>? Zones { get; set; }
Property Value
Methods
Equals(object?)
Determines whether the specified GroupRelations, is equal to this instance.
public override bool Equals(object? obj)
Parameters
obj
objectThe 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.