]> git.basschouten.com Git - openhab-addons.git/blob
d0fa461e5edc54011fb8a53f2c7deb4d23b1b7e8
[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.semsportal.internal.dto;
14
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16
17 /**
18  * The login request to the portal. Response can be deserialized in a {@link LoginResponse}
19  *
20  * @author Iwan Bron - Initial contribution
21  */
22
23 @NonNullByDefault
24 public class LoginRequest {
25     private String account;
26     private String pwd;
27
28     public LoginRequest(String account, String pwd) {
29         this.account = account;
30         this.pwd = pwd;
31     }
32
33     public void setPwd(String pwd) {
34         this.pwd = pwd;
35     }
36
37     public void setAccount(String account) {
38         this.account = account;
39     }
40
41     public String getPwd() {
42         return pwd;
43     }
44
45     public String getAccount() {
46         return account;
47     }
48 }