com.geotab.model.entity.device.Go10 Maven / Gradle / Ivy
package com.geotab.model.entity.device;
import static java.lang.Boolean.FALSE;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.experimental.SuperBuilder;
/**
* The Geotab GO10 device. Additional properties can be seen in {@link GoCurveAuxiliary}.
*/
@Getter @Setter
@NoArgsConstructor
@SuperBuilder(builderMethodName = "go10Builder")
public class Go10 extends GoCurveAuxiliary {
/**
* Enables or disables OBD alerts for the device. Default [False].
*/
protected Boolean obdAlertEnabled;
/**
* Which ON or OFF continuous connect for the device. Default [False].
*/
protected Boolean isContinuousConnectEnabled;
{
setDeviceType(DeviceType.GO10);
}
@Override
public void populateDefaults() {
super.populateDefaults();
this.productId = GO10_PRODUCT_ID;
this.obdAlertEnabled = FALSE;
this.isContinuousConnectEnabled = FALSE;
}
}