]> git.basschouten.com Git - openhab-addons.git/blob
70b5ab576a252e1cc1a5ff95fa60ea13851819d1
[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.kodi.internal.config;
14
15 /**
16  * Thing configuration from openHAB.
17  *
18  * @author Christoph Weitkamp - Initial contribution
19  * @author Christoph Weitkamp - Improvements for playing audio notifications
20  */
21 public class KodiConfig {
22     private String ipAddress;
23     private Integer port;
24     private Integer httpPort;
25     private String httpUser;
26     private String httpPassword;
27     private Integer refreshInterval;
28     private Integer notificationTimeout;
29     private Integer notificationVolume;
30
31     public String getIpAddress() {
32         return ipAddress;
33     }
34
35     public void setIpAddress(String ipAddress) {
36         this.ipAddress = ipAddress;
37     }
38
39     public Integer getPort() {
40         return port;
41     }
42
43     public void setPort(Integer port) {
44         this.port = port;
45     }
46
47     public Integer getHttpPort() {
48         return httpPort;
49     }
50
51     public void setHttpPort(Integer httpPort) {
52         this.httpPort = httpPort;
53     }
54
55     public String getHttpUser() {
56         return httpUser;
57     }
58
59     public void setHttpUser(String httpUser) {
60         this.httpUser = httpUser;
61     }
62
63     public String getHttpPassword() {
64         return httpPassword;
65     }
66
67     public void setHttpPassword(String httpPassword) {
68         this.httpPassword = httpPassword;
69     }
70
71     public Integer getRefreshInterval() {
72         return refreshInterval;
73     }
74
75     public void setRefreshInterval(Integer refreshInterval) {
76         this.refreshInterval = refreshInterval;
77     }
78
79     public Integer getNotificationTimeout() {
80         return notificationTimeout;
81     }
82
83     public void setNotificationTimeout(Integer notificationTimeout) {
84         this.notificationTimeout = notificationTimeout;
85     }
86
87     public Integer getNotificationVolume() {
88         return notificationVolume;
89     }
90
91     public void setNotificationVolume(Integer notificationVolume) {
92         this.notificationVolume = notificationVolume;
93     }
94 }