io.github.zeroone3010.yahueapi.v2.domain.TemperatureResource 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.
The newest version!
package io.github.zeroone3010.yahueapi.v2.domain;
import com.fasterxml.jackson.annotation.JsonProperty;
public class TemperatureResource extends Resource {
@JsonProperty("enabled")
private boolean enabled;
@JsonProperty("temperature")
private Temperature temperature;
public boolean isEnabled() {
return enabled;
}
public Temperature getTemperature() {
return temperature;
}
public String toString() {
return JsonStringUtil.toJsonString(this);
}
}