busSpecifications property
getter/setter pair
Detailed bus specifications such as dimensions and weight.
Note: Some members of bus_specifications have limited value range.
- BusSpecifications.grossWeightInKilograms must not be negative.
- BusSpecifications.heightInCentimeters must be in the range [0, 5000].
- BusSpecifications.widthInCentimeters must be in the range [0, 5000].
- BusSpecifications.lengthInCentimeters must be in the range [0, 30000].
The validation of the range is done in the method that takes
PrivateBusOptionsas parameter.
Implementation
BusSpecifications busSpecifications;