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.ihc.internal.ws.datatypes;
16 * Class for WSUser complex type.
18 * @author Pauli Anttila - Initial contribution
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;
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;
43 this.firstname = firstname;
44 this.lastname = lastname;
47 this.project = project;
51 * Gets the value of the createdDate property.
53 * @return possible object is {@link WSDate }
56 public WSDate getCreatedDate() {
61 * Sets the value of the createdDate property.
63 * @param value allowed object is {@link WSDate }
66 public void setCreatedDate(WSDate value) {
67 this.createdDate = value;
71 * Gets the value of the loginDate property.
73 * @return possible object is {@link WSDate }
76 public WSDate getLoginDate() {
81 * Sets the value of the loginDate property.
83 * @param value allowed object is {@link WSDate }
86 public void setLoginDate(WSDate value) {
87 this.loginDate = value;
91 * Gets the value of the username property.
93 * @return possible object is {@link String }
96 public String getUsername() {
101 * Sets the value of the username property.
103 * @param value allowed object is {@link String }
106 public void setUsername(String value) {
107 this.username = value;
111 * Gets the value of the password property.
113 * @return possible object is {@link String }
116 public String getPassword() {
121 * Sets the value of the password property.
123 * @param value allowed object is {@link String }
126 public void setPassword(String value) {
127 this.password = value;
131 * Gets the value of the email property.
133 * @return possible object is {@link String }
136 public String getEmail() {
141 * Sets the value of the email property.
143 * @param value allowed object is {@link String }
146 public void setEmail(String value) {
151 * Gets the value of the firstname property.
153 * @return possible object is {@link String }
156 public String getFirstname() {
161 * Sets the value of the firstname property.
163 public void setFirstname(String value) {
164 this.firstname = value;
168 * Gets the value of the lastname property.
170 * @return possible object is {@link String }
173 public String getLastname() {
178 * Sets the value of the lastname property.
180 * @param value allowed object is {@link String }
183 public void setLastname(String value) {
184 this.lastname = value;
188 * Gets the value of the phone property.
190 public String getPhone() {
195 * Sets the value of the phone property.
197 * @param value allowed object is {@link String }
201 public void setPhone(String value) {
206 * Gets the value of the group property.
208 * @return possible object is {@link WSUserGroup }
211 public WSUserGroup getGroup() {
216 * Sets the value of the group property.
218 * @param value allowed object is {@link WSUserGroup }
221 public void setGroup(WSUserGroup value) {
226 * Gets the value of the project property.
228 * @return possible object is {@link String }
231 public String getProject() {
236 * Sets the value of the project property.
238 * @param value allowed object is {@link String }
241 public void setProject(String value) {
242 this.project = value;