io.github.zeroone3010.yahueapi.domain.RuleAction 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.Map;
public class RuleAction {
@JsonProperty("address")
private String address;
@JsonProperty("method")
private String method;
@JsonProperty("body")
private Map body;
public String getAddress() {
return address;
}
public String getMethod() {
return method;
}
public Map getBody() {
return body;
}
@Override
public String toString() {
return JsonStringUtil.toJsonString(this);
}
}