]> git.basschouten.com Git - openhab-addons.git/blob
32cd5e067631c13a97e0b11ffb19a32b770f50c9
[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.oauth;
14
15 import com.google.gson.annotations.SerializedName;
16
17 /**
18  * The {@link AbstractAuthResponseDTO} represents the common fields returned in all auth responses.
19  *
20  * @author Mark Hilbush - Initial contribution
21  */
22 public abstract class AbstractAuthResponseDTO {
23
24     /*
25      * Error code.
26      */
27     @SerializedName("error")
28     public String error;
29
30     /*
31      * Textual description of error.
32      */
33     @SerializedName("error_description")
34     public String errorDescription;
35
36     /*
37      * URI referencing OAuth documentation.
38      */
39     @SerializedName("error_uri")
40     public String errorURI;
41 }