EvStatus.Builder


class EvStatus.Builder


A builder of EvStatus.

Summary

Public constructors

Public functions

EvStatus

Constructs the EvStatus defined by this builder.

EvStatus.Builder
setEvChargePortConnected(evChargePortConnected: CarValue<Boolean!>)

Sets if the EV charge port is connected with a CarValue. .

EvStatus.Builder
setEvChargePortOpen(evChargePortOpen: CarValue<Boolean!>)

Sets if the EV charge port is open with a CarValue.

Public constructors

Builder

Added in 1.2.0
Builder()

Public functions

build

Added in 1.2.0
fun build(): EvStatus

Constructs the EvStatus defined by this builder.

setEvChargePortConnected

Added in 1.2.0
fun setEvChargePortConnected(evChargePortConnected: CarValue<Boolean!>): EvStatus.Builder

Sets if the EV charge port is connected with a CarValue. .

Throws
java.lang.NullPointerException

if evChargePortConnected is null

setEvChargePortOpen

Added in 1.2.0
fun setEvChargePortOpen(evChargePortOpen: CarValue<Boolean!>): EvStatus.Builder

Sets if the EV charge port is open with a CarValue.

Throws
java.lang.NullPointerException

if evChargePortOpen is null