2 * Copyright (c) 2010-2023 Contributors to the openHAB project
4 * See the NOTICE file(s) distributed with this work for additional
7 * This program and the accompanying materials are made available under the
8 * terms of the Eclipse Public License 2.0 which is available at
9 * http://www.eclipse.org/legal/epl-2.0
11 * SPDX-License-Identifier: EPL-2.0
14 package org.openhab.binding.miio.internal.miot;
16 import org.eclipse.jdt.annotation.NonNullByDefault;
18 import com.google.gson.annotations.Expose;
19 import com.google.gson.annotations.SerializedName;
22 * Model Urns DTO for miot spec file.
24 * To read http://miot-spec.org/miot-spec-v2/instances?status=released
26 * @author Marcel Verpaalen - Initial contribution
29 public class ModelUrnsDTO {
30 @SerializedName("model")
32 private String model = "";
33 @SerializedName("version")
35 private Integer version = 0;
36 @SerializedName("type")
38 private String type = "";
40 public String getModel() {
44 public void setModel(String model) {
48 public Integer getVersion() {
52 public void setVersion(Integer version) {
53 this.version = version;
56 public String getType() {
60 public void setType(String type) {