Class SpecificRestriction
- Last UpdatedDec 18, 2024
- 1 minute read
Package com.here.sdk.transport
Class SpecificRestriction
- java.lang.Object
-
- com.here.sdk.transport.SpecificRestriction
-
public final class SpecificRestriction extends java.lang.Object
Represents a specific vehicle restriction.
Note: This is a beta release of this feature. Related APIs may change for new releases without a deprecation process.
-
-
Field Summary
Fields Modifier and Type Field Description RestrictionType
type
Type of restriction.IntegerRange
value
Values for which the restriction applies.
-
Constructor Summary
Constructors Constructor Description SpecificRestriction(RestrictionType type, IntegerRange value)
Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
int
hashCode()
-
-
-
Field Detail
-
type
@NonNull public RestrictionType type
Type of restriction.
-
value
@NonNull public IntegerRange value
Values for which the restriction applies.
-
-
Constructor Detail
-
SpecificRestriction
public SpecificRestriction(@NonNull RestrictionType type, @NonNull IntegerRange value)
Creates a new instance.
- Parameters:
type
-Type of restriction.
value
-Values for which the restriction applies.
-
-