]> git.basschouten.com Git - openhab-addons.git/blob
18567ba808a02a22fe50a422c3d5761b983fefb6
[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.pixometer.internal.config;
14
15 import java.util.List;
16
17 import org.eclipse.jdt.annotation.NonNullByDefault;
18
19 /**
20  * The {@link ImageMeta} class is the representing java model for the json result for Image Meta Data from the pixometer
21  * api
22  *
23  * @author Jerome Luckenbach - Initial Contribution
24  *
25  */
26 @NonNullByDefault
27 public class ImageMeta {
28
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;
42
43     public Integer getId() {
44         return id;
45     }
46
47     public void setId(Integer id) {
48         this.id = id;
49     }
50
51     public List<Annotation> getAnnotations() {
52         return annotations;
53     }
54
55     public void setAnnotations(List<Annotation> annotations) {
56         this.annotations = annotations;
57     }
58
59     public String getImage() {
60         return image;
61     }
62
63     public void setImage(String image) {
64         this.image = image;
65     }
66
67     public String getImageDownload() {
68         return imageDownload;
69     }
70
71     public void setImageDownload(String imageDownload) {
72         this.imageDownload = imageDownload;
73     }
74
75     public String getCameraModel() {
76         return cameraModel;
77     }
78
79     public void setCameraModel(String cameraModel) {
80         this.cameraModel = cameraModel;
81     }
82
83     public Boolean getFlash() {
84         return flash;
85     }
86
87     public void setFlash(Boolean flash) {
88         this.flash = flash;
89     }
90
91     public Integer getFrameNumber() {
92         return frameNumber;
93     }
94
95     public void setFrameNumber(Integer frameNumber) {
96         this.frameNumber = frameNumber;
97     }
98
99     public Double getSecondsSinceDetection() {
100         return secondsSinceDetection;
101     }
102
103     public void setSecondsSinceDetection(Double secondsSinceDetection) {
104         this.secondsSinceDetection = secondsSinceDetection;
105     }
106
107     public Double getSecondsSinceStart() {
108         return secondsSinceStart;
109     }
110
111     public void setSecondsSinceStart(Double secondsSinceStart) {
112         this.secondsSinceStart = secondsSinceStart;
113     }
114
115     public Double getLat() {
116         return lat;
117     }
118
119     public void setLat(Double lat) {
120         this.lat = lat;
121     }
122
123     public Double getLng() {
124         return lng;
125     }
126
127     public void setLng(Double lng) {
128         this.lng = lng;
129     }
130
131     public String getOsVersion() {
132         return osVersion;
133     }
134
135     public void setOsVersion(String osVersion) {
136         this.osVersion = osVersion;
137     }
138
139     public String getPixolusVersion() {
140         return pixolusVersion;
141     }
142
143     public void setPixolusVersion(String pixolusVersion) {
144         this.pixolusVersion = pixolusVersion;
145     }
146 }