EnergyProfile.Builder
class EnergyProfile.Builder
A builder of EnergyProfile.
Summary
Public constructors |
|---|
Builder() |
Public functions |
|
|---|---|
EnergyProfile |
build()Constructs the |
EnergyProfile.Builder |
setEvConnectorTypes(evConnectorTypes: CarValue<(Mutable)List<Int!>!>)Sets the cars EV connector types. |
EnergyProfile.Builder |
setFuelTypes(fuelTypes: CarValue<(Mutable)List<Int!>!>)Sets the cars fuel types. |
Public constructors
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 |
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 |