]> git.basschouten.com Git - openhab-addons.git/blob
0c5be7dc5db00ee11c9e0b14d0e2d6d5bbae4840
[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.mynice.internal.xml.dto;
14
15 import com.thoughtworks.xstream.annotations.XStreamAsAttribute;
16
17 /**
18  *
19  * @author GaĆ«l L'hopital - Initial contribution
20  */
21 public class Authentication {
22     public enum UserPerm {
23         wait,
24         user,
25         admin;
26     }
27
28     @XStreamAsAttribute
29     public int id;
30     @XStreamAsAttribute
31     public String pwd;
32     @XStreamAsAttribute
33     private String username;
34     @XStreamAsAttribute
35     public UserPerm perm;
36     @XStreamAsAttribute
37     public boolean notify;
38     @XStreamAsAttribute
39     public String sc;
40 }