]> git.basschouten.com Git - openhab-addons.git/blob
25677b898382c4c85922295fa9bca9c0caf55c36
[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.nuki.internal.dto;
14
15 /**
16  * The {@link BridgeApiAuthDto} class defines the Data Transfer Object (POJO)
17  * for the Nuki Bridge API /auth endpoint.
18  *
19  * @author Jan Vybíral - Initial contribution
20  */
21 public class BridgeApiAuthDto {
22     private String token;
23     private boolean success;
24
25     public String getToken() {
26         return token;
27     }
28
29     public void setToken(String token) {
30         this.token = token;
31     }
32
33     public boolean isSuccess() {
34         return success;
35     }
36
37     public void setSuccess(boolean success) {
38         this.success = success;
39     }
40 }