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.pixometer.internal.config;
15 import org.eclipse.jdt.annotation.NonNullByDefault;
18 * The {@link Annotation} class is the representing java model for the json result for an annotation from the pixometer
21 * @author Jerome Luckenbach - Initial Contribution
25 public class Annotation {
27 private @NonNullByDefault({}) Integer id;
28 private @NonNullByDefault({}) Object rectangle;
29 private @NonNullByDefault({}) String meaning;
30 private @NonNullByDefault({}) String text;
31 private @NonNullByDefault({}) Integer image;
33 public Integer getId() {
37 public void setId(Integer id) {
41 public Object getRectangle() {
45 public void setRectangle(Object rectangle) {
46 this.rectangle = rectangle;
49 public String getMeaning() {
53 public void setMeaning(String meaning) {
54 this.meaning = meaning;
57 public String getText() {
61 public void setText(String text) {
65 public Integer getImage() {
69 public void setImage(Integer image) {