io.github.zeroone3010.yahueapi.domain.StartupMode Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of yetanotherhueapi Show documentation
Show all versions of yetanotherhueapi Show documentation
A library for controlling Philips Hue lights.
package io.github.zeroone3010.yahueapi.domain;
import com.fasterxml.jackson.annotation.JsonValue;
public enum StartupMode {
BRIGHT_LIGHT("safety"),
KEEP_STATE("powerfail"),
LAST_ON_STATE("lastonstate"),
CUSTOM("custom"),
UNKNOWN("unknown");
private final String apiValue;
StartupMode(final String apiValue) {
this.apiValue = apiValue;
}
public String getApiValue() {
return apiValue;
}
@JsonValue
public String jsonValue() {
return getApiValue();
}
}