]> git.basschouten.com Git - openhab-addons.git/blob
61c3be676db22bc7a9c4c8e231c7f8fb42f983d9
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2021 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.netatmo.internal.webhook;
14
15 import com.google.gson.annotations.SerializedName;
16
17 /**
18  * The {@link NAWebhookCameraEventPerson} is responsible to hold
19  * data given back by the Netatmo API when calling the webhook
20  *
21  * @author GaĆ«l L'hopital - Initial contribution
22  *
23  */
24 public class NAWebhookCameraEventPerson {
25     @SerializedName("id")
26     String id;
27
28     public String getId() {
29         return id;
30     }
31
32     @SerializedName("face_id")
33     String faceId;
34
35     public String getFaceId() {
36         return faceId;
37     }
38
39     @SerializedName("face_key")
40     String faceKey;
41
42     public String getFaceKey() {
43         return faceKey;
44     }
45
46     @SerializedName("is_known")
47     Boolean isKnown;
48
49     public Boolean isKnown() {
50         return isKnown;
51     }
52 }