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.model;
15 import org.eclipse.jdt.annotation.NonNullByDefault;
18 * Class representing a Kodi video stream (see https://kodi.wiki/view/JSON-RPC_API/v9#Player.Video.Stream)
20 * @author Christoph Weitkamp - Initial contribution
23 public class KodiVideoStream {
24 private @NonNullByDefault({}) String codec;
27 private @NonNullByDefault({}) String language;
28 private @NonNullByDefault({}) String name;
31 public String getCodec() {
35 public void setCodec(String codec) {
39 public int getHeight() {
43 public void setHeight(int height) {
47 public int getIndex() {
51 public void setIndex(int index) {
55 public String getLanguage() {
59 public void setLanguage(String language) {
60 this.language = language;
63 public String getName() {
67 public void setName(String name) {
71 public int getWidth() {
75 public void setWidth(int width) {