io.github.zeroone3010.yahueapi.v2.domain.ButtonMetadata 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 ButtonMetadata {
@JsonProperty("control_id")
private int controlId;
/**
* minimum: 0 – maximum: 8
*
* @return Number of the button on the switch device.
*/
public int getControlId() {
return controlId;
}
public String toString() {
return JsonStringUtil.toJsonString(this);
}
}