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

io.github.zeroone3010.yahueapi.domain.SensorDto 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.Map;

public class SensorDto {
  @JsonProperty("name")
  private String name;
  @JsonProperty("type")
  private String type;
  @JsonProperty("state")
  private Map state;
  @JsonProperty("swupdate")
  private ComponentSoftwareUpdate softwareUpdate;
  @JsonProperty("config")
  private Map config;
  @JsonProperty("modelid")
  private String modelId;
  @JsonProperty("manufacturername")
  private String manufacturerName;
  @JsonProperty("swversion")
  private String softwareVersion;
  @JsonProperty("uniqueid")
  private String uniqueId;
  @JsonProperty("recycle")
  private Boolean recycle;
  @JsonProperty("productname")
  private String productName;
  @JsonProperty("capabilities")
  private SensorCapabilities capabilities;

  public Map getState() {
    return state;
  }

  public ComponentSoftwareUpdate getSoftwareUpdate() {
    return softwareUpdate;
  }

  public Map getConfig() {
    return config;
  }

  public String getName() {
    return name;
  }

  public String getType() {
    return type;
  }

  public String getModelId() {
    return modelId;
  }

  public String getManufacturerName() {
    return manufacturerName;
  }

  public String getSoftwareVersion() {
    return softwareVersion;
  }

  public String getUniqueId() {
    return uniqueId;
  }

  public Boolean getRecycle() {
    return recycle;
  }

  public String getProductName() {
    return productName;
  }

  public SensorCapabilities getCapabilities() {
    return capabilities;
  }

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy