class Vehicle: Any

FakeDataProvider implementation for YamlCategory.VEHICLE category.

Fields

Name Description
val yamlCategory: override
val localUniqueDataProvider: override
val unique: override

Methods

manufacture

fun manufacture(): resolve("manufacture")

ReturnValue

Name Description
resolve("manufacture")

makes

fun makes(): resolve("makes")

ReturnValue

Name Description
resolve("makes")

modelsByMake

fun modelsByMake(make: String): resolve("models_by_make", make)

Parameters

Name Description
make: String

ReturnValue

Name Description
resolve("models_by_make", make)

colors

fun colors(): resolve("colors")

ReturnValue

Name Description
resolve("colors")

transmissions

fun transmissions(): resolve("transmissions")

ReturnValue

Name Description
resolve("transmissions")

driveTypes

fun driveTypes(): resolve("drive_types")

ReturnValue

Name Description
resolve("drive_types")

fuelTypes

fun fuelTypes(): resolve("fuel_types")

ReturnValue

Name Description
resolve("fuel_types")

styles

fun styles(): resolve("styles")

ReturnValue

Name Description
resolve("styles")

carTypes

fun carTypes(): resolve("car_types")

ReturnValue

Name Description
resolve("car_types")

carOptions

fun carOptions(): resolve("car_options")

ReturnValue

Name Description
resolve("car_options")

standardSpecs

fun standardSpecs(): resolve("standard_specs")

ReturnValue

Name Description
resolve("standard_specs")

doors

fun doors(): resolve("doors")

ReturnValue

Name Description
resolve("doors")

engineSizes

fun engineSizes(): resolve("engine_sizes")

ReturnValue

Name Description
resolve("engine_sizes")

licensePlate

fun licensePlate(): with(fakerService) { resolve("license_plate").numerify().letterify() }

ReturnValue

Name Description
with(fakerService) { resolve("license_plate").numerify().letterify() }

licencePlateByState

fun licencePlateByState(stateCode: String): with(fakerService) { resolve("license_plate_by_state", stateCode).numerify().letterify().regexify() }

Parameters

Name Description
stateCode: String

ReturnValue

Name Description
with(fakerService) { resolve("license_plate_by_state", stateCode).numerify().letterify().regexify() }

cylinderEngine

fun cylinderEngine(): resolve("cylinder_engine")

ReturnValue

Name Description
resolve("cylinder_engine")