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.ecovacs.internal.api.impl.dto.response.main;
15 import com.google.gson.annotations.SerializedName;
18 * @author Johannes Ptaszyk - Initial contribution
20 public class AccessData {
22 @SerializedName("uid")
23 private final String uid;
25 @SerializedName("accessToken")
26 private final String accessToken;
28 @SerializedName("userName")
29 private final String userName;
31 @SerializedName("email")
32 private final String email;
34 @SerializedName("mobile")
35 private final String mobile;
37 @SerializedName("isNew")
38 private final boolean isNew;
40 @SerializedName("loginName")
41 private final String loginName;
43 @SerializedName("ucUid")
44 private final String ucUid;
46 public AccessData(String uid, String accessToken, String userName, String email, String mobile, boolean isNew,
47 String loginName, String ucUid) {
49 this.accessToken = accessToken;
50 this.userName = userName;
54 this.loginName = loginName;
58 public String getUid() {
62 public String getAccessToken() {
66 public String getUserName() {
70 public String getEmail() {
74 public String getMobile() {
78 public boolean isNew() {
82 public String getLoginName() {
86 public String getUcUid() {