]> git.basschouten.com Git - openhab-addons.git/blob
da7fbb5064a3a770c61f953c84437a77772109ac
[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      * @return possible object is {@link String }
164      *
165      */
166     public void setFirstname(String value) {
167         this.firstname = value;
168     }
169
170     /**
171      * Gets the value of the lastname property.
172      *
173      * @return possible object is {@link String }
174      *
175      */
176     public String getLastname() {
177         return lastname;
178     }
179
180     /**
181      * Sets the value of the lastname property.
182      *
183      * @param value allowed object is {@link String }
184      *
185      */
186     public void setLastname(String value) {
187         this.lastname = value;
188     }
189
190     /**
191      * Gets the value of the phone property.
192      *
193      * @param value allowed object is {@link String }
194      *
195      */
196     public String getPhone() {
197         return phone;
198     }
199
200     /**
201      * Sets the value of the phone property.
202      *
203      * @param value allowed object is {@link String }
204      *            {@link String }
205      *
206      */
207     public void setPhone(String value) {
208         this.phone = value;
209     }
210
211     /**
212      * Gets the value of the group property.
213      *
214      * @return possible object is {@link WSUserGroup }
215      *
216      */
217     public WSUserGroup getGroup() {
218         return group;
219     }
220
221     /**
222      * Sets the value of the group property.
223      *
224      * @param value allowed object is {@link WSUserGroup }
225      *
226      */
227     public void setGroup(WSUserGroup value) {
228         this.group = value;
229     }
230
231     /**
232      * Gets the value of the project property.
233      *
234      * @return possible object is {@link String }
235      *
236      */
237     public String getProject() {
238         return project;
239     }
240
241     /**
242      * Sets the value of the project property.
243      *
244      * @param value allowed object is {@link String }
245      *
246      */
247     public void setProject(String value) {
248         this.project = value;
249     }
250 }