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

io.github.zeroone3010.yahueapi.domain.Scene 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;
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);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy