]> git.basschouten.com Git - openhab-addons.git/blob
97b0e552f628695a74fd6082a2f198bd3c01b38a
[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.util.ArrayList;
16 import java.util.List;
17
18 /**
19  * The {@link SurePetcareTag} is the Java class used to represent the micro chip or collar tag of a pet. It's used to
20  * deserialize JSON API results.
21  *
22  * @author Rene Scherer - Initial contribution
23  */
24 public class SurePetcareTag extends SurePetcareBaseObject {
25
26     // {
27     // "id":34552,
28     // "tag":"981.000007623719",
29     // "version":"MA==",
30     // "created_at":"2019-09-02T09:27:17+00:00",
31     // "updated_at":"2019-09-02T09:27:17+00:00",
32     // "supported_product_ids":[
33     // 3,
34     // 4,
35     // 6
36     // ]
37     // }
38
39     public String tag;
40     public List<Integer> supportedProductIds = new ArrayList<>();
41 }