]> git.basschouten.com Git - openhab-addons.git/blob
f697f838ecd5511b3524794d9e6021eca45bc9c9
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2022 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.revogi.internal.api;
14
15 /**
16  * The class {@link StatusRawDTO} represents the raw data received from Revogi's SmartStrip
17  *
18  * @author Andi Bräu - Initial contribution
19  */
20 public class StatusRawDTO {
21     private final int response;
22     private final int code;
23     private final StatusDTO data;
24
25     public StatusRawDTO(int response, int code, StatusDTO data) {
26         this.response = response;
27         this.code = code;
28         this.data = data;
29     }
30
31     public int getResponse() {
32         return response;
33     }
34
35     public int getCode() {
36         return code;
37     }
38
39     public StatusDTO getData() {
40         return data;
41     }
42 }