2 * Copyright (c) 2010-2024 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.melcloud.internal.api.json;
15 import com.google.gson.annotations.Expose;
18 * The {@link LoginData} is responsible of JSON data For MELCloud API
19 * LoginData for Login Request.
20 * Generated with jsonschema2pojo
22 * @author Luca Calcaterra - Initial contribution
24 public class LoginData {
27 private String contextKey;
30 private Integer client;
33 private Integer terms;
45 private Boolean isStaff;
54 private Boolean receiveCountryNotifications;
57 private Boolean receiveAllNotifications;
66 private Integer maximumDevices;
69 private Boolean showDiagnostics;
72 private Integer language;
75 private Integer country;
78 private Integer realClient;
84 private Boolean useFahrenheit;
87 private Integer duration;
90 private String expiry;
96 private Object partnerApplicationVersion;
99 private Boolean emailSettingsReminderShown;
102 private Integer emailUnitErrors;
105 private Integer emailCommsErrors;
108 private Boolean isImpersonated;
111 private String languageCode;
114 private String countryName;
117 private String currencySymbol;
120 private String supportEmailAddress;
123 private String dateSeperator;
126 private String timeSeperator;
129 private String atwLogoFile;
132 private Boolean dECCReport;
135 private Boolean cSVReport1min;
138 private Boolean hidePresetPanel;
141 private Boolean emailSettingsReminderRequired;
144 private Object termsText;
147 private Boolean mapView;
150 private Integer mapZoom;
153 private Double mapLongitude;
156 private Double mapLatitude;
158 public String getContextKey() {
162 public void setContextKey(String contextKey) {
163 this.contextKey = contextKey;
166 public Integer getClient() {
170 public void setClient(Integer client) {
171 this.client = client;
174 public Integer getTerms() {
178 public void setTerms(Integer terms) {
182 public Integer getAL() {
186 public void setAL(Integer aL) {
190 public Integer getML() {
194 public void setML(Integer mL) {
198 public Boolean getCMI() {
202 public void setCMI(Boolean cMI) {
206 public Boolean getIsStaff() {
210 public void setIsStaff(Boolean isStaff) {
211 this.isStaff = isStaff;
214 public Boolean getCUTF() {
218 public void setCUTF(Boolean cUTF) {
222 public Boolean getCAA() {
226 public void setCAA(Boolean cAA) {
230 public Boolean getReceiveCountryNotifications() {
231 return receiveCountryNotifications;
234 public void setReceiveCountryNotifications(Boolean receiveCountryNotifications) {
235 this.receiveCountryNotifications = receiveCountryNotifications;
238 public Boolean getReceiveAllNotifications() {
239 return receiveAllNotifications;
242 public void setReceiveAllNotifications(Boolean receiveAllNotifications) {
243 this.receiveAllNotifications = receiveAllNotifications;
246 public Boolean getCACA() {
250 public void setCACA(Boolean cACA) {
254 public Boolean getCAGA() {
258 public void setCAGA(Boolean cAGA) {
262 public Integer getMaximumDevices() {
263 return maximumDevices;
266 public void setMaximumDevices(Integer maximumDevices) {
267 this.maximumDevices = maximumDevices;
270 public Boolean getShowDiagnostics() {
271 return showDiagnostics;
274 public void setShowDiagnostics(Boolean showDiagnostics) {
275 this.showDiagnostics = showDiagnostics;
278 public Integer getLanguage() {
282 public void setLanguage(Integer language) {
283 this.language = language;
286 public Integer getCountry() {
290 public void setCountry(Integer country) {
291 this.country = country;
294 public Integer getRealClient() {
298 public void setRealClient(Integer realClient) {
299 this.realClient = realClient;
302 public String getName() {
306 public void setName(String name) {
310 public Boolean getUseFahrenheit() {
311 return useFahrenheit;
314 public void setUseFahrenheit(Boolean useFahrenheit) {
315 this.useFahrenheit = useFahrenheit;
318 public Integer getDuration() {
322 public void setDuration(Integer duration) {
323 this.duration = duration;
326 public String getExpiry() {
330 public void setExpiry(String expiry) {
331 this.expiry = expiry;
334 public Boolean getCMSC() {
338 public void setCMSC(Boolean cMSC) {
342 public Object getPartnerApplicationVersion() {
343 return partnerApplicationVersion;
346 public void setPartnerApplicationVersion(Object partnerApplicationVersion) {
347 this.partnerApplicationVersion = partnerApplicationVersion;
350 public Boolean getEmailSettingsReminderShown() {
351 return emailSettingsReminderShown;
354 public void setEmailSettingsReminderShown(Boolean emailSettingsReminderShown) {
355 this.emailSettingsReminderShown = emailSettingsReminderShown;
358 public Integer getEmailUnitErrors() {
359 return emailUnitErrors;
362 public void setEmailUnitErrors(Integer emailUnitErrors) {
363 this.emailUnitErrors = emailUnitErrors;
366 public Integer getEmailCommsErrors() {
367 return emailCommsErrors;
370 public void setEmailCommsErrors(Integer emailCommsErrors) {
371 this.emailCommsErrors = emailCommsErrors;
374 public Boolean getIsImpersonated() {
375 return isImpersonated;
378 public void setIsImpersonated(Boolean isImpersonated) {
379 this.isImpersonated = isImpersonated;
382 public String getLanguageCode() {
386 public void setLanguageCode(String languageCode) {
387 this.languageCode = languageCode;
390 public String getCountryName() {
394 public void setCountryName(String countryName) {
395 this.countryName = countryName;
398 public String getCurrencySymbol() {
399 return currencySymbol;
402 public void setCurrencySymbol(String currencySymbol) {
403 this.currencySymbol = currencySymbol;
406 public String getSupportEmailAddress() {
407 return supportEmailAddress;
410 public void setSupportEmailAddress(String supportEmailAddress) {
411 this.supportEmailAddress = supportEmailAddress;
414 public String getDateSeperator() {
415 return dateSeperator;
418 public void setDateSeperator(String dateSeperator) {
419 this.dateSeperator = dateSeperator;
422 public String getTimeSeperator() {
423 return timeSeperator;
426 public void setTimeSeperator(String timeSeperator) {
427 this.timeSeperator = timeSeperator;
430 public String getAtwLogoFile() {
434 public void setAtwLogoFile(String atwLogoFile) {
435 this.atwLogoFile = atwLogoFile;
438 public Boolean getDECCReport() {
442 public void setDECCReport(Boolean dECCReport) {
443 this.dECCReport = dECCReport;
446 public Boolean getCSVReport1min() {
447 return cSVReport1min;
450 public void setCSVReport1min(Boolean cSVReport1min) {
451 this.cSVReport1min = cSVReport1min;
454 public Boolean getHidePresetPanel() {
455 return hidePresetPanel;
458 public void setHidePresetPanel(Boolean hidePresetPanel) {
459 this.hidePresetPanel = hidePresetPanel;
462 public Boolean getEmailSettingsReminderRequired() {
463 return emailSettingsReminderRequired;
466 public void setEmailSettingsReminderRequired(Boolean emailSettingsReminderRequired) {
467 this.emailSettingsReminderRequired = emailSettingsReminderRequired;
470 public Object getTermsText() {
474 public void setTermsText(Object termsText) {
475 this.termsText = termsText;
478 public Boolean getMapView() {
482 public void setMapView(Boolean mapView) {
483 this.mapView = mapView;
486 public Integer getMapZoom() {
490 public void setMapZoom(Integer mapZoom) {
491 this.mapZoom = mapZoom;
494 public Double getMapLongitude() {
498 public void setMapLongitude(Double mapLongitude) {
499 this.mapLongitude = mapLongitude;
502 public Double getMapLatitude() {
506 public void setMapLatitude(Double mapLatitude) {
507 this.mapLatitude = mapLatitude;