Class VehicleRestrictionMaxWeight
Package com.here.sdk.routing
Class VehicleRestrictionMaxWeight
- java.lang.Object
-
- com.here.sdk.routing.VehicleRestrictionMaxWeight
-
public final class VehicleRestrictionMaxWeight extends java.lang.ObjectVehicleRestrictionMaxWeightcontains max permitted weight during the trip, in kilograms, along with the specific type of maximum permitted weight restriction.
-
-
Field Summary
Fields Modifier and Type Field Description VehicleRestrictionMaxWeightTypetypeRepresents the specific type of the maximum permitted weight restriction.intvalueInKilogramsMax permitted weight during the trip, in kilograms.
-
Constructor Summary
Constructors Constructor Description VehicleRestrictionMaxWeight(int valueInKilograms, VehicleRestrictionMaxWeightType type)Created a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)inthashCode()
-
-
-
Field Detail
-
valueInKilograms
public int valueInKilograms
Max permitted weight during the trip, in kilograms.
-
type
@NonNull public VehicleRestrictionMaxWeightType type
Represents the specific type of the maximum permitted weight restriction.
-
-
Constructor Detail
-
VehicleRestrictionMaxWeight
public VehicleRestrictionMaxWeight(int valueInKilograms, @NonNull VehicleRestrictionMaxWeightType type)Created a new instance.
- Parameters:
valueInKilograms-Max permitted weight during the trip, in kilograms.
type-Represents the specific type of the maximum permitted weight restriction.
-
-