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

io.github.zeroone3010.yahueapi.domain.Group 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.JsonProperty;

import java.util.List;
import java.util.Map;

public class Group {

  @JsonProperty("name")
  private String name;
  @JsonProperty("lights")
  private List lights;
  @JsonProperty("type")
  private String type;
  @JsonProperty("state")
  private GroupState state;
  @JsonProperty("recycle")
  private boolean recycle;
  @JsonProperty("class")
  private String roomClass;
  @JsonProperty("action")
  private Action action;
  @JsonProperty("stream")
  private EntertainmentStream stream;
  @JsonProperty("locations")
  private Map> locations;

  public String getName() {
    return name;
  }

  public List getLights() {
    return lights;
  }

  public String getType() {
    return type;
  }

  public GroupState getState() {
    return state;
  }

  public boolean isRecycle() {
    return recycle;
  }

  public String getRoomClass() {
    return roomClass;
  }

  public Action getAction() {
    return action;
  }

  public EntertainmentStream getStream() {
    return stream;
  }

  public Map> getLocations() {
    return locations;
  }

  @Override
  public String toString() {
    return JsonStringUtil.toJsonString(this);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy