]> git.basschouten.com Git - openhab-addons.git/blob
58b9fb852132c6846e82a605cc716ce103032a7c
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2024 Contributors to the openHAB project
3  *
4  * See the NOTICE file(s) distributed with this work for additional
5  * information.
6  *
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
10  *
11  * SPDX-License-Identifier: EPL-2.0
12  */
13 package org.openhab.binding.wlanthermo.internal.api.nano.dto.data;
14
15 import java.util.ArrayList;
16 import java.util.List;
17
18 import com.google.gson.annotations.Expose;
19 import com.google.gson.annotations.SerializedName;
20
21 /**
22  * This DTO is used to parse the JSON
23  * Class is auto-generated from JSON using http://www.jsonschema2pojo.org/
24  *
25  * @author Christian Schlipp - Initial contribution
26  */
27 public class Pitmaster {
28
29     @SerializedName("type")
30     @Expose
31     private List<String> type = new ArrayList<String>();
32     @SerializedName("pm")
33     @Expose
34     private List<Pm> pm = new ArrayList<Pm>();
35
36     /**
37      * No args constructor for use in serialization
38      * 
39      */
40     public Pitmaster() {
41     }
42
43     /**
44      * 
45      * @param type
46      * @param pm
47      */
48     public Pitmaster(List<String> type, List<Pm> pm) {
49         super();
50         this.type = type;
51         this.pm = pm;
52     }
53
54     public List<String> getType() {
55         return type;
56     }
57
58     public void setType(List<String> type) {
59         this.type = type;
60     }
61
62     public Pitmaster withType(List<String> type) {
63         this.type = type;
64         return this;
65     }
66
67     public List<Pm> getPm() {
68         return pm;
69     }
70
71     public void setPm(List<Pm> pm) {
72         this.pm = pm;
73     }
74
75     public Pitmaster withPm(List<Pm> pm) {
76         this.pm = pm;
77         return this;
78     }
79 }