]> git.basschouten.com Git - openhab-addons.git/blob
f148556e70ef06dcf9b3e57e26ff908520f8ed5a
[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.venstarthermostat.internal.dto;
14
15 /**
16  * The {@link VenstarResponse} represents a response message from the REST API.
17  *
18  * @author William Welliver - Initial contribution
19  */
20 public class VenstarResponse {
21
22     private boolean success;
23     private String reason;
24
25     public String getReason() {
26         return reason;
27     }
28
29     public void setReason(String reason) {
30         this.reason = reason;
31     }
32
33     public boolean isSuccess() {
34         return success;
35     }
36
37     public void setSuccess(boolean success) {
38         this.success = success;
39     }
40 }