]> git.basschouten.com Git - openhab-addons.git/blob
d4bbd23f521d0270d9b6861dfd35c12aeabea3ea
[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.ihc.internal.ws.datatypes;
14
15 /**
16  * Class for WSUser complex type.
17  *
18  * @author Pauli Anttila - Initial contribution
19  */
20 public class WSUser {
21
22     protected WSDate createdDate;
23     protected WSDate loginDate;
24     protected String username;
25     protected String password;
26     protected String email;
27     protected String firstname;
28     protected String lastname;
29     protected String phone;
30     protected WSUserGroup group;
31     protected String project;
32
33     public WSUser() {
34     }
35
36     public WSUser(WSDate createdDate, WSDate loginDate, String username, String password, String email,
37             String firstname, String lastname, String phone, WSUserGroup group, String project) {
38         this.createdDate = createdDate;
39         this.loginDate = loginDate;
40         this.username = username;
41         this.password = password;
42         this.email = email;
43         this.firstname = firstname;
44         this.lastname = lastname;
45         this.phone = phone;
46         this.group = group;
47         this.project = project;
48     }
49
50     /**
51      * Gets the value of the createdDate property.
52      *
53      * @return possible object is {@link WSDate }
54      *
55      */
56     public WSDate getCreatedDate() {
57         return createdDate;
58     }
59
60     /**
61      * Sets the value of the createdDate property.
62      *
63      * @param value allowed object is {@link WSDate }
64      *
65      */
66     public void setCreatedDate(WSDate value) {
67         this.createdDate = value;
68     }
69
70     /**
71      * Gets the value of the loginDate property.
72      *
73      * @return possible object is {@link WSDate }
74      *
75      */
76     public WSDate getLoginDate() {
77         return loginDate;
78     }
79
80     /**
81      * Sets the value of the loginDate property.
82      *
83      * @param value allowed object is {@link WSDate }
84      *
85      */
86     public void setLoginDate(WSDate value) {
87         this.loginDate = value;
88     }
89
90     /**
91      * Gets the value of the username property.
92      *
93      * @return possible object is {@link String }
94      *
95      */
96     public String getUsername() {
97         return username;
98     }
99
100     /**
101      * Sets the value of the username property.
102      *
103      * @param value allowed object is {@link String }
104      *
105      */
106     public void setUsername(String value) {
107         this.username = value;
108     }
109
110     /**
111      * Gets the value of the password property.
112      *
113      * @return possible object is {@link String }
114      *
115      */
116     public String getPassword() {
117         return password;
118     }
119
120     /**
121      * Sets the value of the password property.
122      *
123      * @param value allowed object is {@link String }
124      *
125      */
126     public void setPassword(String value) {
127         this.password = value;
128     }
129
130     /**
131      * Gets the value of the email property.
132      *
133      * @return possible object is {@link String }
134      *
135      */
136     public String getEmail() {
137         return email;
138     }
139
140     /**
141      * Sets the value of the email property.
142      *
143      * @param value allowed object is {@link String }
144      *
145      */
146     public void setEmail(String value) {
147         this.email = value;
148     }
149
150     /**
151      * Gets the value of the firstname property.
152      *
153      * @return possible object is {@link String }
154      *
155      */
156     public String getFirstname() {
157         return firstname;
158     }
159
160     /**
161      * Sets the value of the firstname property.
162      */
163     public void setFirstname(String value) {
164         this.firstname = value;
165     }
166
167     /**
168      * Gets the value of the lastname property.
169      *
170      * @return possible object is {@link String }
171      *
172      */
173     public String getLastname() {
174         return lastname;
175     }
176
177     /**
178      * Sets the value of the lastname property.
179      *
180      * @param value allowed object is {@link String }
181      *
182      */
183     public void setLastname(String value) {
184         this.lastname = value;
185     }
186
187     /**
188      * Gets the value of the phone property.
189      */
190     public String getPhone() {
191         return phone;
192     }
193
194     /**
195      * Sets the value of the phone property.
196      *
197      * @param value allowed object is {@link String }
198      *            {@link String }
199      *
200      */
201     public void setPhone(String value) {
202         this.phone = value;
203     }
204
205     /**
206      * Gets the value of the group property.
207      *
208      * @return possible object is {@link WSUserGroup }
209      *
210      */
211     public WSUserGroup getGroup() {
212         return group;
213     }
214
215     /**
216      * Sets the value of the group property.
217      *
218      * @param value allowed object is {@link WSUserGroup }
219      *
220      */
221     public void setGroup(WSUserGroup value) {
222         this.group = value;
223     }
224
225     /**
226      * Gets the value of the project property.
227      *
228      * @return possible object is {@link String }
229      *
230      */
231     public String getProject() {
232         return project;
233     }
234
235     /**
236      * Sets the value of the project property.
237      *
238      * @param value allowed object is {@link String }
239      *
240      */
241     public void setProject(String value) {
242         this.project = value;
243     }
244 }