io.github.zeroone3010.yahueapi.domain.Scene 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;
import java.util.Map;
import java.util.UUID;
public class Scene {
@JsonProperty("name")
private String name;
@JsonProperty("type")
private String type;
@JsonProperty("group")
private String group;
@JsonProperty("lights")
private List lights;
@JsonProperty("owner")
private String owner;
@JsonProperty("recycle")
private boolean recycle;
@JsonProperty("locked")
private boolean locked;
@JsonProperty("appdata")
private Map appdata;
@JsonProperty("picture")
private String picture;
@JsonProperty("lastupdated")
private String lastUpdated;
@JsonProperty("version")
private int version;
@JsonProperty("image")
private UUID image;
public String getName() {
return name;
}
public String getType() {
return type;
}
public String getGroup() {
return group;
}
public List getLights() {
return lights;
}
public String getOwner() {
return owner;
}
public boolean isRecycle() {
return recycle;
}
public boolean isLocked() {
return locked;
}
public Map getAppdata() {
return appdata;
}
public String getPicture() {
return picture;
}
public String getLastUpdated() {
return lastUpdated;
}
public int getVersion() {
return version;
}
public UUID getImage() {
return image;
}
@Override
public String toString() {
return JsonStringUtil.toJsonString(this);
}
}