io.github.zeroone3010.yahueapi.v2.domain.ButtonResource 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 com.fasterxml.jackson.annotation.JsonTypeName;
@JsonTypeName("button")
public class ButtonResource extends Resource {
@JsonProperty("owner")
private ResourceIdentifier owner;
@JsonProperty("metadata")
private ButtonMetadata metadata;
@JsonProperty("button")
private ButtonSpecifics button;
public ButtonMetadata getMetadata() {
return metadata;
}
public ButtonSpecifics getButton() {
return button;
}
}