]> git.basschouten.com Git - openhab-addons.git/blob
4de740b6ee9cfe009268003a21245356c37b54c0
[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.surepetcare.internal.dto;
14
15 import java.time.ZonedDateTime;
16
17 /**
18  * The {@link SurePetcarePetActivity} is the Java class used to represent the
19  * status of a pet. It's used to deserialize JSON API results.
20  *
21  * @author Rene Scherer - Initial contribution
22  * @author Holger Eisold - Added pet feeder status
23  */
24 public class SurePetcarePetActivity {
25
26     public Long tagId;
27     public Long deviceId;
28     public Long userId;
29     public Integer where;
30     public ZonedDateTime since;
31
32     public SurePetcarePetActivity() {
33     }
34
35     public SurePetcarePetActivity(Integer location, ZonedDateTime since) {
36         this.where = location;
37         this.since = since;
38     }
39 }