2 * Copyright (c) 2010-2023 Contributors to the openHAB project
4 * See the NOTICE file(s) distributed with this work for additional
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
11 * SPDX-License-Identifier: EPL-2.0
13 package org.openhab.binding.kodi.internal.config;
16 * Thing configuration from openHAB.
18 * @author Christoph Weitkamp - Initial contribution
19 * @author Christoph Weitkamp - Improvements for playing audio notifications
21 public class KodiConfig {
22 private String ipAddress;
24 private Integer httpPort;
25 private String httpUser;
26 private String httpPassword;
27 private Integer refreshInterval;
28 private Integer notificationTimeout;
29 private Integer notificationVolume;
31 public String getIpAddress() {
35 public void setIpAddress(String ipAddress) {
36 this.ipAddress = ipAddress;
39 public Integer getPort() {
43 public void setPort(Integer port) {
47 public Integer getHttpPort() {
51 public void setHttpPort(Integer httpPort) {
52 this.httpPort = httpPort;
55 public String getHttpUser() {
59 public void setHttpUser(String httpUser) {
60 this.httpUser = httpUser;
63 public String getHttpPassword() {
67 public void setHttpPassword(String httpPassword) {
68 this.httpPassword = httpPassword;
71 public Integer getRefreshInterval() {
72 return refreshInterval;
75 public void setRefreshInterval(Integer refreshInterval) {
76 this.refreshInterval = refreshInterval;
79 public Integer getNotificationTimeout() {
80 return notificationTimeout;
83 public void setNotificationTimeout(Integer notificationTimeout) {
84 this.notificationTimeout = notificationTimeout;
87 public Integer getNotificationVolume() {
88 return notificationVolume;
91 public void setNotificationVolume(Integer notificationVolume) {
92 this.notificationVolume = notificationVolume;