]> git.basschouten.com Git - openhab-addons.git/blob
9a64e4f6ec25e638a8a1b016dc83e7f47c812b45
[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.zoneminder.internal.dto;
14
15 import com.google.gson.annotations.SerializedName;
16
17 /**
18  * The {@link MonitorDTO} contains information about how the monitor is
19  * defined in Zoneminder.
20  *
21  * @author Mark Hilbush - Initial contribution
22  */
23 public class MonitorDTO {
24
25     /**
26      * Monitor Id
27      */
28     @SerializedName("Id")
29     public String id;
30
31     /**
32      * Monitor name
33      */
34     @SerializedName("Name")
35     public String name;
36
37     /**
38      * Current monitor function (e.g. Nodect, Record, etc.)
39      */
40     @SerializedName("Function")
41     public String function;
42
43     /**
44      * Monitor enabled ("1") or disabled ("0")
45      */
46     @SerializedName("Enabled")
47     public String enabled;
48
49     /**
50      * Number of events in last hour
51      */
52     @SerializedName("HourEvents")
53     public String hourEvents;
54
55     /**
56      * Number of events in last day
57      */
58     @SerializedName("DayEvents")
59     public String dayEvents;
60
61     /**
62      * Number of events in last week
63      */
64     @SerializedName("WeekEvents")
65     public String weekEvents;
66
67     /**
68      * Number of events in last month
69      */
70     @SerializedName("MonthEvents")
71     public String monthEvents;
72
73     /**
74      * Total number of events
75      */
76     @SerializedName("TotalEvents")
77     public String totalEvents;
78
79     /**
80      * Video with in pixels
81      */
82     @SerializedName("Width")
83     public String width;
84
85     /**
86      * Video height in pixels
87      */
88     @SerializedName("Height")
89     public String height;
90
91     /**
92      * Path to video stream
93      */
94     @SerializedName("path")
95     public String videoStreamPath;
96 }