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 java.util.List;
17 import org.eclipse.jdt.annotation.NonNullByDefault;
20 * The {@link ImageMeta} class is the representing java model for the json result for Image Meta Data from the pixometer
23 * @author Jerome Luckenbach - Initial Contribution
27 public class ImageMeta {
29 private @NonNullByDefault({}) Integer id;
30 private @NonNullByDefault({}) List<Annotation> annotations = null;
31 private @NonNullByDefault({}) String image;
32 private @NonNullByDefault({}) String imageDownload;
33 private @NonNullByDefault({}) String cameraModel;
34 private @NonNullByDefault({}) Boolean flash;
35 private @NonNullByDefault({}) Integer frameNumber;
36 private @NonNullByDefault({}) Double secondsSinceDetection;
37 private @NonNullByDefault({}) Double secondsSinceStart;
38 private @NonNullByDefault({}) Double lat;
39 private @NonNullByDefault({}) Double lng;
40 private @NonNullByDefault({}) String osVersion;
41 private @NonNullByDefault({}) String pixolusVersion;
43 public Integer getId() {
47 public void setId(Integer id) {
51 public List<Annotation> getAnnotations() {
55 public void setAnnotations(List<Annotation> annotations) {
56 this.annotations = annotations;
59 public String getImage() {
63 public void setImage(String image) {
67 public String getImageDownload() {
71 public void setImageDownload(String imageDownload) {
72 this.imageDownload = imageDownload;
75 public String getCameraModel() {
79 public void setCameraModel(String cameraModel) {
80 this.cameraModel = cameraModel;
83 public Boolean getFlash() {
87 public void setFlash(Boolean flash) {
91 public Integer getFrameNumber() {
95 public void setFrameNumber(Integer frameNumber) {
96 this.frameNumber = frameNumber;
99 public Double getSecondsSinceDetection() {
100 return secondsSinceDetection;
103 public void setSecondsSinceDetection(Double secondsSinceDetection) {
104 this.secondsSinceDetection = secondsSinceDetection;
107 public Double getSecondsSinceStart() {
108 return secondsSinceStart;
111 public void setSecondsSinceStart(Double secondsSinceStart) {
112 this.secondsSinceStart = secondsSinceStart;
115 public Double getLat() {
119 public void setLat(Double lat) {
123 public Double getLng() {
127 public void setLng(Double lng) {
131 public String getOsVersion() {
135 public void setOsVersion(String osVersion) {
136 this.osVersion = osVersion;
139 public String getPixolusVersion() {
140 return pixolusVersion;
143 public void setPixolusVersion(String pixolusVersion) {
144 this.pixolusVersion = pixolusVersion;