Class FleetComposition
- Namespace
- Geotab.Checkmate.ObjectModel
- Assembly
- Geotab.Checkmate.ObjectModel.dll
The fleet composition for a demo database. Describes the attributes of the demo vehicles that will be simulated.
public record FleetComposition : IEquatable<FleetComposition>
- Inheritance
-
FleetComposition
- Implements
- Inherited Members
Constructors
FleetComposition()
Initializes a new instance of the FleetComposition class.
public FleetComposition()
FleetComposition(FleetComposition)
Initializes a new instance of the FleetComposition class.
public FleetComposition(FleetComposition fleetComposition)
Parameters
fleetComposition
FleetCompositionThe fleetComposition.
Properties
City
Gets or sets the city of the trip.
public string? City { get; set; }
Property Value
- string
The region string
Country
Gets or sets the country of the trip.
public string? Country { get; set; }
Property Value
- string
The region string
DefaultTranslation
Gets or sets the default translation (English) of this FleetComposition. This will only have a value if this FleetComposition instance has been translated into a different language.
public FleetComposition? DefaultTranslation { get; set; }
Property Value
- FleetComposition
The default translation of this FleetComposition instance.
EqualityContract
protected virtual Type EqualityContract { get; }
Property Value
TripType
Gets or sets the type of trip the vehicle will be driving.
public string? TripType { get; set; }
Property Value
- string
The trip type string
VehicleType
Gets or sets the type of vehicle that is driving the trip.
public string? VehicleType { get; set; }
Property Value
- string
The vehicle type string
Methods
Equals(FleetComposition?)
public virtual bool Equals(FleetComposition? other)
Parameters
other
FleetComposition
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
obj
object
Returns
GetHashCode()
public override int GetHashCode()
Returns
PrintMembers(StringBuilder)
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
builder
StringBuilder
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(FleetComposition?, FleetComposition?)
public static bool operator ==(FleetComposition? left, FleetComposition? right)
Parameters
left
FleetCompositionright
FleetComposition
Returns
operator !=(FleetComposition?, FleetComposition?)
public static bool operator !=(FleetComposition? left, FleetComposition? right)
Parameters
left
FleetCompositionright
FleetComposition