]> git.basschouten.com Git - openhab-addons.git/blob
c9e0ac06473aac1e4c6d4c63df6e13c6e2e71764
[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.melcloud.internal.api.json;
14
15 import java.util.List;
16
17 import com.google.gson.annotations.Expose;
18
19 /**
20  * The {@link LoginClientResponse} is responsible of JSON data For MELCloud API
21  * Response Data of Login.
22  * Generated with jsonschema2pojo
23  *
24  * @author Luca Calcaterra - Initial contribution
25  */
26 public class LoginClientResponse {
27
28     @Expose
29     private Object errorId;
30
31     @Expose
32     private Object errorMessage;
33
34     @Expose
35     private Integer loginStatus;
36
37     @Expose
38     private Integer userId;
39
40     @Expose
41     private Object randomKey;
42
43     @Expose
44     private Object appVersionAnnouncement;
45
46     @Expose
47     private LoginData loginData;
48
49     @Expose
50     private List<Object> listPendingInvite = null;
51
52     @Expose
53     private List<Object> listOwnershipChangeRequest = null;
54
55     @Expose
56     private List<Object> listPendingAnnouncement = null;
57
58     @Expose
59     private Integer loginMinutes;
60
61     @Expose
62     private Integer loginAttempts;
63
64     public Object getErrorId() {
65         return errorId;
66     }
67
68     public void setErrorId(Object errorId) {
69         this.errorId = errorId;
70     }
71
72     public Object getErrorMessage() {
73         return errorMessage;
74     }
75
76     public void setErrorMessage(Object errorMessage) {
77         this.errorMessage = errorMessage;
78     }
79
80     public Integer getLoginStatus() {
81         return loginStatus;
82     }
83
84     public void setLoginStatus(Integer loginStatus) {
85         this.loginStatus = loginStatus;
86     }
87
88     public Integer getUserId() {
89         return userId;
90     }
91
92     public void setUserId(Integer userId) {
93         this.userId = userId;
94     }
95
96     public Object getRandomKey() {
97         return randomKey;
98     }
99
100     public void setRandomKey(Object randomKey) {
101         this.randomKey = randomKey;
102     }
103
104     public Object getAppVersionAnnouncement() {
105         return appVersionAnnouncement;
106     }
107
108     public void setAppVersionAnnouncement(Object appVersionAnnouncement) {
109         this.appVersionAnnouncement = appVersionAnnouncement;
110     }
111
112     public LoginData getLoginData() {
113         return loginData;
114     }
115
116     public void setLoginData(LoginData loginData) {
117         this.loginData = loginData;
118     }
119
120     public List<Object> getListPendingInvite() {
121         return listPendingInvite;
122     }
123
124     public void setListPendingInvite(List<Object> listPendingInvite) {
125         this.listPendingInvite = listPendingInvite;
126     }
127
128     public List<Object> getListOwnershipChangeRequest() {
129         return listOwnershipChangeRequest;
130     }
131
132     public void setListOwnershipChangeRequest(List<Object> listOwnershipChangeRequest) {
133         this.listOwnershipChangeRequest = listOwnershipChangeRequest;
134     }
135
136     public List<Object> getListPendingAnnouncement() {
137         return listPendingAnnouncement;
138     }
139
140     public void setListPendingAnnouncement(List<Object> listPendingAnnouncement) {
141         this.listPendingAnnouncement = listPendingAnnouncement;
142     }
143
144     public Integer getLoginMinutes() {
145         return loginMinutes;
146     }
147
148     public void setLoginMinutes(Integer loginMinutes) {
149         this.loginMinutes = loginMinutes;
150     }
151
152     public Integer getLoginAttempts() {
153         return loginAttempts;
154     }
155
156     public void setLoginAttempts(Integer loginAttempts) {
157         this.loginAttempts = loginAttempts;
158     }
159 }