]> git.basschouten.com Git - openhab-addons.git/blob
ed55181f992da4772276acd834caffba420f717c
[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.config;
14
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16 import org.eclipse.jdt.annotation.Nullable;
17
18 /**
19  * The {@link EcobeeAccountConfiguration} class contains fields mapping
20  * to the account thing configuration parameters.
21  *
22  * @author Mark Hilbush - Initial contribution
23  */
24 @NonNullByDefault
25 public class EcobeeAccountConfiguration {
26
27     /**
28      * Ecobee API key
29      */
30     public @Nullable String apiKey;
31
32     /**
33      * Time in seconds between information refresh
34      */
35     public @Nullable Integer refreshIntervalNormal;
36
37     /**
38      * Time in seconds to wait after successful update, command or action before refresh
39      */
40     public @Nullable Integer refreshIntervalQuick;
41
42     /**
43      * Time in seconds to allow API request to complete
44      */
45     public @Nullable Integer apiTimeout;
46
47     /*
48      * Enable/disable automatic discovery
49      */
50     public @Nullable Boolean discoveryEnabled;
51 }