io.github.zeroone3010.yahueapi.domain.Rule 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 Rule {
@JsonProperty("name")
private String name;
@JsonProperty("owner")
private String owner;
@JsonProperty("created")
private String created;
@JsonProperty("lasttriggered")
private String lastTriggered;
@JsonProperty("timestriggered")
private int timesTriggered;
@JsonProperty("status")
private String status;
@JsonProperty("recycle")
private boolean recycle;
@JsonProperty("conditions")
private List conditions;
@JsonProperty("actions")
private List actions;
public String getName() {
return name;
}
public String getOwner() {
return owner;
}
public String getCreated() {
return created;
}
public String getLastTriggered() {
return lastTriggered;
}
public int getTimesTriggered() {
return timesTriggered;
}
public String getStatus() {
return status;
}
public boolean isRecycle() {
return recycle;
}
public List getConditions() {
return conditions;
}
public List getActions() {
return actions;
}
@Override
public String toString() {
return JsonStringUtil.toJsonString(this);
}
}