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