ClimateProfileRequest.Builder


class ClimateProfileRequest.Builder


A builder of ClimateProfileRequest.

Summary

Public constructors

Creates an instance of ClimateProfileRequest.Builder.

Public functions

ClimateProfileRequest.Builder

Adds the given CarClimateFeatures in the request.

ClimateProfileRequest

Constructs the ClimateProfileRequest defined by this builder.

ClimateProfileRequest.Builder

Adds all CarClimateFeatures in the request by enabling all profiles.

Public constructors

Builder

Added in 1.3.0
Builder()

Creates an instance of ClimateProfileRequest.Builder.

Public functions

addClimateProfileFeatures

fun addClimateProfileFeatures(features: Array<CarClimateFeature!>): ClimateProfileRequest.Builder

Adds the given CarClimateFeatures in the request.

Parameters
features: Array<CarClimateFeature!>

CarClimateFeatures indicates the features the application is interested in

Throws
java.lang.IllegalArgumentException

if the feature flag is not one of ClimateProfileFeatures

build

Added in 1.3.0
fun build(): ClimateProfileRequest

Constructs the ClimateProfileRequest defined by this builder.

setAllClimateProfiles

Added in 1.3.0
fun setAllClimateProfiles(): ClimateProfileRequest.Builder

Adds all CarClimateFeatures in the request by enabling all profiles.