]> git.basschouten.com Git - openhab-addons.git/blob
fa3409c4fe81a6a50a8085b82213351e38faa17f
[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.model;
14
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16
17 /**
18  * Class representing a Kodi subtitle stream (see https://kodi.wiki/view/JSON-RPC_API/v9#Player.Subtitle)
19  *
20  * @author Meng Yiqi - Initial contribution
21  */
22 @NonNullByDefault
23 public class KodiSubtitle {
24     private int index;
25     private String language = "";
26     private String name = "";
27
28     public int getIndex() {
29         return index;
30     }
31
32     public void setIndex(int index) {
33         this.index = index;
34     }
35
36     public String getLanguage() {
37         return language;
38     }
39
40     public void setLanguage(String language) {
41         this.language = language;
42     }
43
44     public String getName() {
45         return name;
46     }
47
48     public void setName(String name) {
49         this.name = name;
50     }
51 }