io.github.zeroone3010.yahueapi.domain.LightDto 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 io.github.zeroone3010.yahueapi.State;
import java.util.Map;
public class LightDto {
private LightState state;
private ComponentSoftwareUpdate swupdate;
private String type;
private String name;
private String modelid;
private String manufacturername;
private Map capabilities;
private String uniqueid;
private String swversion;
private String swconfigid;
private String productid;
@JsonProperty("productname")
private String productName;
private LightConfig config;
public LightState getState() {
return state;
}
public ComponentSoftwareUpdate getSwupdate() {
return swupdate;
}
public String getType() {
return type;
}
public String getName() {
return name;
}
public String getModelid() {
return modelid;
}
public String getManufacturername() {
return manufacturername;
}
public Map getCapabilities() {
return capabilities;
}
public String getUniqueid() {
return uniqueid;
}
public String getSwversion() {
return swversion;
}
public String getSwconfigid() {
return swconfigid;
}
public String getProductid() {
return productid;
}
public String getProductName() {
return productName;
}
public LightConfig getConfig() {
return config;
}
@Override
public String toString() {
return JsonStringUtil.toJsonString(this);
}
}