io.github.zeroone3010.yahueapi.domain.SensorEvent 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.JsonProperty;
import java.util.List;
public class SensorEvent {
@JsonProperty("buttonevent")
private Integer buttonEvent;
@JsonProperty("eventtype")
private String eventType;
public Integer getButtonEvent() {
return buttonEvent;
}
public String getEventType() {
return eventType;
}
@Override
public String toString() {
return JsonStringUtil.toJsonString(this);
}
}