Class Vehicle.Types.LoadLimit.Types.Interval
Interval of acceptable load amounts.
Implements
Namespace: Google.Maps.RouteOptimization.V1
Assembly: Google.Maps.RouteOptimization.V1.dll
Syntax
public sealed class Vehicle.Types.LoadLimit.Types.Interval : IMessage<Vehicle.Types.LoadLimit.Types.Interval>, IEquatable<Vehicle.Types.LoadLimit.Types.Interval>, IDeepCloneable<Vehicle.Types.LoadLimit.Types.Interval>, IBufferMessage, IMessage
Constructors
Interval()
Declaration
public Interval()
Interval(Interval)
Declaration
public Interval(Vehicle.Types.LoadLimit.Types.Interval other)
Parameters
Type | Name | Description |
---|---|---|
Vehicle.Types.LoadLimit.Types.Interval | other |
Properties
HasMax
Gets whether the "max" field is set
Declaration
public bool HasMax { get; }
Property Value
Type | Description |
---|---|
bool |
Max
A maximum acceptable load. Must be ≥ 0. If unspecified, the maximum load is unrestricted by this message. If they're both specified, [min][google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval.min] must be ≤ [max][google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval.max].
Declaration
public long Max { get; set; }
Property Value
Type | Description |
---|---|
long |
Min
A minimum acceptable load. Must be ≥ 0. If they're both specified, [min][google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval.min] must be ≤ [max][google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval.max].
Declaration
public long Min { get; set; }
Property Value
Type | Description |
---|---|
long |