valueOf

fun valueOf(driveTrain: String): DriveTrain

Retrieves the DriveTrain corresponding to the specified string.

Return

The corresponding DriveTrain or DriveTrain.Unknown if the specified value does not match any known drive train.

Parameters

driveTrain

A string representing the drive train.