package com.iamberry.app.tool.dto;

import java.util.HashMap;
import java.util.Map;
import javax.annotation.Generated;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;

@JsonInclude(JsonInclude.Include.NON_NULL)
@Generated("org.jsonschema2pojo")
@JsonPropertyOrder({ "time", "dpId", "value", "devId" })
public class TuyaHistoryListDTO {

	@JsonProperty("time")
	private Long time;
	@JsonProperty("dpId")
	private Integer dpId;
	@JsonProperty("value")
	private String value;
	@JsonProperty("devId")
	private String devId;
	@JsonIgnore
	private Map<String, Object> additionalProperties = new HashMap<String, Object>();

	@JsonProperty("time")
	public Long getTime() {
		return time;
	}

	@JsonProperty("time")
	public void setTime(Long time) {
		this.time = time;
	}

	@JsonProperty("dpId")
	public Integer getDpId() {
		return dpId;
	}

	@JsonProperty("dpId")
	public void setDpId(Integer dpId) {
		this.dpId = dpId;
	}

	@JsonProperty("value")
	public String getValue() {
		return value;
	}

	@JsonProperty("value")
	public void setValue(String value) {
		this.value = value;
	}

	@JsonProperty("devId")
	public String getDevId() {
		return devId;
	}

	@JsonProperty("devId")
	public void setDevId(String devId) {
		this.devId = devId;
	}

	@JsonAnyGetter
	public Map<String, Object> getAdditionalProperties() {
		return this.additionalProperties;
	}

	@JsonAnySetter
	public void setAdditionalProperty(String name, Object value) {
		this.additionalProperties.put(name, value);
	}

}
