]> git.basschouten.com Git - openhab-addons.git/blob
cbe2de3ed2e7967b72acf96392f53cf06adef534
[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.jellyfin.internal;
14
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16
17 /**
18  * The {@link JellyfinServerConfiguration} class contains fields mapping thing configuration parameters.
19  *
20  * @author Miguel Álvarez - Initial contribution
21  */
22 @NonNullByDefault
23 public class JellyfinServerConfiguration {
24     /**
25      * Server hostname
26      */
27     public String hostname = "";
28     /**
29      * Server hostname
30      */
31     public int port = 8096;
32     /**
33      * Use Https
34      */
35     public Boolean ssl = true;
36     /**
37      * Jellyfin base url
38      */
39     public String path = "";
40     /**
41      * Interval to pull devices state from the server
42      */
43     public int refreshSeconds = 60;
44     /**
45      * Amount off seconds allowed since the last client update to assert it's online
46      */
47     public int clientActiveWithInSeconds = 0;
48     /**
49      * Access Token
50      */
51     public String token = "";
52     /**
53      * User ID
54      */
55     public String userId = "";
56 }