]> git.basschouten.com Git - openhab-addons.git/blob
cdd7a55a2612a3fc6038f15276bc0db346caf498
[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 /**
16  * The {@link SurePetcarePhoto} is the Java class used to represent the photo of a pet or user. It's used to deserialize
17  * JSON API results.
18  *
19  * @author Rene Scherer - Initial contribution
20  */
21 public class SurePetcarePhoto extends SurePetcareBaseObject {
22
23     // {
24     // "id":78634,
25     // "location":"https:\/\/surehub.s3.amazonaws.com\/user-photos\/thm\/23421\/z70LUtqaHVlAIkgYRDIooi5666GvQwdAZptCgeZU.jpg",
26     // "uploading_user_id":34542,
27     // "version":"MA==",
28     // "created_at":"2019-09-02T09:31:07+00:00",
29     // "updated_at":"2019-09-02T09:31:07+00:00"
30     // }
31
32     public String location;
33     public Long uploadingUserId;
34 }