io.github.zeroone3010.yahueapi.v2.domain.MotionResource 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 MotionResource extends Resource {
@JsonProperty("enabled")
private boolean enabled;
@JsonProperty("motion")
private Motion motion;
@JsonProperty("sensitivity")
private Sensitivity sensitivity;
public boolean isEnabled() {
return enabled;
}
public Motion getMotion() {
return motion;
}
public Sensitivity getSensitivity() {
return sensitivity;
}
public String toString() {
return JsonStringUtil.toJsonString(this);
}
}