ModelOptions

class ModelOptions(val engineType: EngineType? = null, val vehicleType: VehicleType? = null, val brandId: BrandId? = null)

Options for requesting vehicle models.

This class contains various filtering criteria that can be used to specify the parameters for a vehicle models request.

Constructors

Link copied to clipboard
constructor(engineType: EngineType? = null, vehicleType: VehicleType? = null, brandId: BrandId? = null)

Properties

Link copied to clipboard
val brandId: BrandId? = null

The unique identifier of the brand to filter results, or null for all brands.

Link copied to clipboard
val engineType: EngineType? = null

The EngineType to filter results by engine type, or null for all engine types.

Link copied to clipboard

The VehicleType to filter results by vehicle type, or null for all vehicle types.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String