EnergyProfile.Builder


class EnergyProfile.Builder


A builder of EnergyProfile.

Summary

Public constructors

Public functions

EnergyProfile

Constructs the EnergyProfile defined by this builder.

EnergyProfile.Builder
setEvConnectorTypes(evConnectorTypes: CarValue<(Mutable)List<Int!>!>)

Sets the cars EV connector types.

EnergyProfile.Builder

Sets the cars fuel types.

Public constructors

Builder

Added in 1.1.0
Builder()

Public functions

build

Added in 1.1.0
fun build(): EnergyProfile

Constructs the EnergyProfile defined by this builder.

Any fields which have not been set are added with null value and STATUS_UNIMPLEMENTED.

setEvConnectorTypes

Added in 1.1.0
fun setEvConnectorTypes(evConnectorTypes: CarValue<(Mutable)List<Int!>!>): EnergyProfile.Builder

Sets the cars EV connector types.

Throws
java.lang.NullPointerException

if evConnectorTypes is null

setFuelTypes

Added in 1.1.0
fun setFuelTypes(fuelTypes: CarValue<(Mutable)List<Int!>!>): EnergyProfile.Builder

Sets the cars fuel types.

Throws
java.lang.NullPointerException

if fuelTypes is null