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.zoneminder.internal.dto;
15 import com.google.gson.annotations.SerializedName;
18 * The {@link MonitorDTO} contains information about how the monitor is
19 * defined in Zoneminder.
21 * @author Mark Hilbush - Initial contribution
23 public class MonitorDTO {
34 @SerializedName("Name")
38 * Current monitor function (e.g. Nodect, Record, etc.)
40 @SerializedName("Function")
41 public String function;
44 * Monitor enabled ("1") or disabled ("0")
46 @SerializedName("Enabled")
47 public String enabled;
50 * Number of events in last hour
52 @SerializedName("HourEvents")
53 public String hourEvents;
56 * Number of events in last day
58 @SerializedName("DayEvents")
59 public String dayEvents;
62 * Number of events in last week
64 @SerializedName("WeekEvents")
65 public String weekEvents;
68 * Number of events in last month
70 @SerializedName("MonthEvents")
71 public String monthEvents;
74 * Total number of events
76 @SerializedName("TotalEvents")
77 public String totalEvents;
80 * Video with in pixels
82 @SerializedName("Width")
86 * Video height in pixels
88 @SerializedName("Height")
92 * Path to video stream
94 @SerializedName("path")
95 public String videoStreamPath;