io.github.zeroone3010.yahueapi.v2.domain.Temperature 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;
import java.math.BigDecimal;
public class Temperature {
@JsonProperty("temperature")
private BigDecimal temperature;
@JsonProperty("temperature_valid")
private boolean temperatureValid;
@JsonProperty("temperature_report")
private TemperatureReport temperatureReport;
public BigDecimal getTemperature() {
return temperature;
}
public boolean isTemperatureValid() {
return temperatureValid;
}
public TemperatureReport getTemperatureReport() {
return temperatureReport;
}
public String toString() {
return JsonStringUtil.toJsonString(this);
}
}