Class SkippedShipment
Specifies details of unperformed shipments in a solution. For trivial cases and/or if we are able to identify the cause for skipping, we report the reason here.
Implements
Namespace: Google.Maps.RouteOptimization.V1
Assembly: Google.Maps.RouteOptimization.V1.dll
Syntax
public sealed class SkippedShipment : IMessage<SkippedShipment>, IEquatable<SkippedShipment>, IDeepCloneable<SkippedShipment>, IBufferMessage, IMessage
Constructors
SkippedShipment()
Declaration
public SkippedShipment()
SkippedShipment(SkippedShipment)
Declaration
public SkippedShipment(SkippedShipment other)
Parameters
Type | Name | Description |
---|---|---|
SkippedShipment | other |
Properties
Index
The index corresponds to the index of the shipment in the source
ShipmentModel
.
Declaration
public int Index { get; set; }
Property Value
Type | Description |
---|---|
int |
Label
Copy of the corresponding
[Shipment.label][google.maps.routeoptimization.v1.Shipment.label], if
specified in the Shipment
.
Declaration
public string Label { get; set; }
Property Value
Type | Description |
---|---|
string |
Reasons
A list of reasons that explain why the shipment was skipped. See comment
above Reason
. If we are unable to understand why a shipment was skipped,
reasons will not be set.
Declaration
public RepeatedField<SkippedShipment.Types.Reason> Reasons { get; }
Property Value
Type | Description |
---|---|
RepeatedField<SkippedShipment.Types.Reason> |