]> git.basschouten.com Git - openhab-addons.git/blob
e64fe2ed2457a9cd94723fa0479a92e294192ef9
[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 import java.util.ArrayList;
17 import java.util.List;
18
19 import com.google.gson.annotations.SerializedName;
20
21 /**
22  * The {@link SurePetcarePetFeeding} is the Java class used to represent the
23  * status of a pet. It's used to deserialize JSON API results.
24  *
25  * @author Rene Scherer - Initial contribution
26  * @author Holger Eisold - Added pet feeder status
27  */
28 public class SurePetcarePetFeeding {
29
30     public Long tagId;
31     public Long deviceId;
32     @SerializedName("change")
33     public List<Float> feedChange = new ArrayList<>();
34     @SerializedName("at")
35     public ZonedDateTime feedChangeAt;
36 }