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
13 package org.openhab.binding.neato.internal.classes;
15 import java.util.List;
17 import com.google.gson.annotations.SerializedName;
20 * The {@link NeatoAccountInformation} is the internal class for the neato web service account and information.
22 * @author Patrik Wimnell - Initial contribution
24 public class NeatoAccountInformation {
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;
42 public String getEmail() {
46 public void setEmail(String email) {
50 public Object getFirstName() {
54 public void setFirstName(Object firstName) {
55 this.firstName = firstName;
58 public Object getLastName() {
62 public void setLastName(Object lastName) {
63 this.lastName = lastName;
66 public String getLocale() {
70 public void setLocale(String locale) {
74 public String getCountryCode() {
78 public void setCountryCode(String countryCode) {
79 this.countryCode = countryCode;
82 public Boolean getDeveloper() {
86 public void setDeveloper(Boolean developer) {
87 this.developer = developer;
90 public Boolean getNewsletter() {
94 public void setNewsletter(Boolean newsletter) {
95 this.newsletter = newsletter;
98 public String getCreatedAt() {
102 public void setCreatedAt(String createdAt) {
103 this.createdAt = createdAt;
106 public String getVerifiedAt() {
110 public void setVerifiedAt(String verifiedAt) {
111 this.verifiedAt = verifiedAt;
114 public List<Robot> getRobots() {
118 public void setRobots(List<Robot> robots) {
119 this.robots = robots;
122 public RecentFirmwares getRecentFirmwares() {
123 return recentFirmwares;
126 public void setRecentFirmwares(RecentFirmwares recentFirmwares) {
127 this.recentFirmwares = recentFirmwares;