]> git.basschouten.com Git - openhab-addons.git/blob
2083c146eb2f98cc2e9e2afd1172c3851ca9884d
[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.boschindego.internal.dto.response;
14
15 import java.time.Instant;
16
17 import com.google.gson.annotations.SerializedName;
18
19 /**
20  * Response for serial number and other device service properties.
21  * 
22  * @author Jacob Laursen - Initial contribution
23  */
24 public class DevicePropertiesResponse {
25
26     @SerializedName("alm_sn")
27     public String serialNumber = "";
28
29     @SerializedName("service_counter")
30     public int serviceCounter;
31
32     @SerializedName("needs_service")
33     public boolean needsService;
34
35     /**
36      * Mode: manual, smart
37      */
38     @SerializedName("alm_mode")
39     public String mode;
40
41     @SerializedName("bareToolnumber")
42     public String bareToolNumber;
43
44     @SerializedName("alm_firmware_version")
45     public String firmwareVersion;
46
47     @SerializedName("renew_date")
48     public Instant renewDate;
49 }