Class ShipmentTypeRequirement
Specifies requirements between shipments based on their shipment_type. The specifics of the requirement are defined by the requirement mode.
Implements
Namespace: Google.Maps.RouteOptimization.V1
Assembly: Google.Maps.RouteOptimization.V1.dll
Syntax
public sealed class ShipmentTypeRequirement : IMessage<ShipmentTypeRequirement>, IEquatable<ShipmentTypeRequirement>, IDeepCloneable<ShipmentTypeRequirement>, IBufferMessage, IMessage
Constructors
ShipmentTypeRequirement()
Declaration
public ShipmentTypeRequirement()
ShipmentTypeRequirement(ShipmentTypeRequirement)
Declaration
public ShipmentTypeRequirement(ShipmentTypeRequirement other)
Parameters
Type | Name | Description |
---|---|---|
ShipmentTypeRequirement | other |
Properties
DependentShipmentTypes
All shipments with a type in the dependent_shipment_types
field require
at least one shipment of type required_shipment_type_alternatives
to be
visited on the same route.
NOTE: Chains of requirements such that a shipment_type
depends on itself
are not allowed.
Declaration
public RepeatedField<string> DependentShipmentTypes { get; }
Property Value
Type | Description |
---|---|
RepeatedField<string> |
RequiredShipmentTypeAlternatives
List of alternative shipment types required by the
dependent_shipment_types
.
Declaration
public RepeatedField<string> RequiredShipmentTypeAlternatives { get; }
Property Value
Type | Description |
---|---|
RepeatedField<string> |
RequirementMode
Mode applied to the requirement.
Declaration
public ShipmentTypeRequirement.Types.RequirementMode RequirementMode { get; set; }
Property Value
Type | Description |
---|---|
ShipmentTypeRequirement.Types.RequirementMode |