]> git.basschouten.com Git - openhab-addons.git/blob
9e3bec464390e5d15fbed496ecffedf28556e272
[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.ecovacs.internal.api.impl.dto.response.main;
14
15 import com.google.gson.annotations.SerializedName;
16
17 /**
18  * @author Johannes Ptaszyk - Initial contribution
19  */
20 public class AccessData {
21
22     @SerializedName("uid")
23     private final String uid;
24
25     @SerializedName("accessToken")
26     private final String accessToken;
27
28     @SerializedName("userName")
29     private final String userName;
30
31     @SerializedName("email")
32     private final String email;
33
34     @SerializedName("mobile")
35     private final String mobile;
36
37     @SerializedName("isNew")
38     private final boolean isNew;
39
40     @SerializedName("loginName")
41     private final String loginName;
42
43     @SerializedName("ucUid")
44     private final String ucUid;
45
46     public AccessData(String uid, String accessToken, String userName, String email, String mobile, boolean isNew,
47             String loginName, String ucUid) {
48         this.uid = uid;
49         this.accessToken = accessToken;
50         this.userName = userName;
51         this.email = email;
52         this.mobile = mobile;
53         this.isNew = isNew;
54         this.loginName = loginName;
55         this.ucUid = ucUid;
56     }
57
58     public String getUid() {
59         return uid;
60     }
61
62     public String getAccessToken() {
63         return accessToken;
64     }
65
66     public String getUserName() {
67         return userName;
68     }
69
70     public String getEmail() {
71         return email;
72     }
73
74     public String getMobile() {
75         return mobile;
76     }
77
78     public boolean isNew() {
79         return isNew;
80     }
81
82     public String getLoginName() {
83         return loginName;
84     }
85
86     public String getUcUid() {
87         return ucUid;
88     }
89 }