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 EventSummaryDTO} contains event counts for the monitor. If this object
19 * doesn't exist in the JSON response, the event counts will be in the monitor object.
21 * @author Mark Hilbush - Initial contribution
23 public class EventSummaryDTO {
26 * Number of events in last hour
28 @SerializedName("HourEvents")
29 public String hourEvents;
32 * Number of events in last day
34 @SerializedName("DayEvents")
35 public String dayEvents;
38 * Number of events in last week
40 @SerializedName("WeekEvents")
41 public String weekEvents;
44 * Number of events in last month
46 @SerializedName("MonthEvents")
47 public String monthEvents;
50 * Total number of events
52 @SerializedName("TotalEvents")
53 public String totalEvents;