]> git.basschouten.com Git - openhab-addons.git/blob
e4d4ede26d223914643f939d6fd4c90abadfd51d
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2023 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.neato.internal.classes;
14
15 import java.util.List;
16
17 import com.google.gson.annotations.SerializedName;
18
19 /**
20  * The {@link NeatoAccountInformation} is the internal class for the neato web service account and information.
21  *
22  * @author Patrik Wimnell - Initial contribution
23  */
24 public class NeatoAccountInformation {
25
26     private String email;
27     private Object firstName;
28     private Object lastName;
29     private String locale;
30     @SerializedName("country_code")
31     private String countryCode;
32     private Boolean developer;
33     private Boolean newsletter;
34     @SerializedName("created_at")
35     private String createdAt;
36     @SerializedName("verified_at")
37     private String verifiedAt;
38     private List<Robot> robots = null;
39     @SerializedName("recent_firmwares")
40     private RecentFirmwares recentFirmwares;
41
42     public String getEmail() {
43         return email;
44     }
45
46     public void setEmail(String email) {
47         this.email = email;
48     }
49
50     public Object getFirstName() {
51         return firstName;
52     }
53
54     public void setFirstName(Object firstName) {
55         this.firstName = firstName;
56     }
57
58     public Object getLastName() {
59         return lastName;
60     }
61
62     public void setLastName(Object lastName) {
63         this.lastName = lastName;
64     }
65
66     public String getLocale() {
67         return locale;
68     }
69
70     public void setLocale(String locale) {
71         this.locale = locale;
72     }
73
74     public String getCountryCode() {
75         return countryCode;
76     }
77
78     public void setCountryCode(String countryCode) {
79         this.countryCode = countryCode;
80     }
81
82     public Boolean getDeveloper() {
83         return developer;
84     }
85
86     public void setDeveloper(Boolean developer) {
87         this.developer = developer;
88     }
89
90     public Boolean getNewsletter() {
91         return newsletter;
92     }
93
94     public void setNewsletter(Boolean newsletter) {
95         this.newsletter = newsletter;
96     }
97
98     public String getCreatedAt() {
99         return createdAt;
100     }
101
102     public void setCreatedAt(String createdAt) {
103         this.createdAt = createdAt;
104     }
105
106     public String getVerifiedAt() {
107         return verifiedAt;
108     }
109
110     public void setVerifiedAt(String verifiedAt) {
111         this.verifiedAt = verifiedAt;
112     }
113
114     public List<Robot> getRobots() {
115         return robots;
116     }
117
118     public void setRobots(List<Robot> robots) {
119         this.robots = robots;
120     }
121
122     public RecentFirmwares getRecentFirmwares() {
123         return recentFirmwares;
124     }
125
126     public void setRecentFirmwares(RecentFirmwares recentFirmwares) {
127         this.recentFirmwares = recentFirmwares;
128     }
129 }