All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.zeroone3010.yahueapi.domain.Root Maven / Gradle / Ivy

There is a newer version: 3.0.0-rc
Show newest version
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);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy