]> git.basschouten.com Git - openhab-addons.git/blob
c58bed5eb4aa43db6d9b342ab8cdbe3d2a68de95
[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.ecobee.internal.dto;
14
15 /**
16  * The {@link StatusDTO} The StatusDTO object contains the processing status of
17  * the request. It will contain any relevant error information should an error
18  * occur. The status object is returned with every response regardless of success or failure status. It is suitable for
19  * logging request failures.
20  *
21  * @author Mark Hilbush - Initial contribution
22  */
23 public class StatusDTO {
24
25     /*
26      * The status code for this status. Success is indicated by a code of 0.
27      */
28     public Integer code;
29
30     /*
31      * The detailed message for this status.
32      */
33     public String message;
34 }