]> git.basschouten.com Git - openhab-addons.git/blob
180a1dd866668035aa5f4864f29d6ea94821991e
[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.juicenet.internal.api.dto;
14
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16
17 import com.google.gson.annotations.SerializedName;
18
19 /**
20  * {@link JuiceNetApiInfo } implements DTO for Info
21  *
22  * @author Jeff James - Initial contribution
23  */
24 @NonNullByDefault
25 public class JuiceNetApiInfo {
26     public String name = "";
27     public String address = "";
28     public String city = "";
29     public String zip = "";
30     @SerializedName("country_code")
31     public String countryCode = "";
32     public String ip = "";
33     @SerializedName("gascost")
34     public int gasCost;
35     public int mpg;
36     public int ecost;
37     @SerializedName("whpermile")
38     public int whPerMile;
39     public String timeZoneId = "";
40     @SerializedName("amps_wire_rating")
41     public int ampsWireRating;
42     @SerializedName("amps_unit_rating")
43     public int ampsUnitRating;
44     public JuiceNetApiCar[] cars = {};
45 }