io.github.zeroone3010.yahueapi.domain.Root 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.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Map;
public class Root {
@JsonProperty("lights")
private Map lights;
@JsonProperty("groups")
private Map groups;
@JsonProperty("config")
private BridgeConfig config;
@JsonIgnore
private Map schedules;
@JsonIgnore
private Map scenes;
@JsonProperty("rules")
private Map rules;
@JsonProperty("sensors")
private Map sensors;
@JsonIgnore
private Map resourcelinks;
public Map getLights() {
return lights;
}
public void setLights(Map lights) {
this.lights = lights;
}
public Map getGroups() {
return groups;
}
public void setGroups(Map groups) {
this.groups = groups;
}
public BridgeConfig getConfig() {
return config;
}
public void setConfig(BridgeConfig config) {
this.config = config;
}
public Map getSchedules() {
return schedules;
}
public void setSchedules(Map schedules) {
this.schedules = schedules;
}
public Map getScenes() {
return scenes;
}
public void setScenes(Map scenes) {
this.scenes = scenes;
}
public Map getRules() {
return rules;
}
public void setRules(Map rules) {
this.rules = rules;
}
public Map getSensors() {
return sensors;
}
public void setSensors(Map sensors) {
this.sensors = sensors;
}
public Map getResourcelinks() {
return resourcelinks;
}
public void setResourcelinks(Map resourcelinks) {
this.resourcelinks = resourcelinks;
}
@Override
public String toString() {
return JsonStringUtil.toJsonString(this);
}
}