]> git.basschouten.com Git - openhab-addons.git/blob
2619e864c0d55d2bc55d0d91dd85ef09b03b17f2
[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.volvooncall.internal.dto;
14
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16
17 import com.google.gson.annotations.SerializedName;
18
19 /**
20  * The {@link AccountVehicleRelation} is responsible for storing
21  * informations returned by vehicle position rest
22  * answer
23  *
24  * @author GaĆ«l L'hopital - Initial contribution
25  */
26 @NonNullByDefault
27 public class AccountVehicleRelation extends VocAnswer {
28     @SerializedName("vehicle")
29     public @NonNullByDefault({}) String vehicleURL;
30     public @NonNullByDefault({}) String vehicleId;
31
32     /*
33      * Currently unused in the binding, maybe interesting in the future
34      * private String account;
35      * private String username;
36      * private String status;
37      * private Integer customerVehicleRelationId;
38      * private String accountId;
39      * private String accountVehicleRelation;
40      */
41 }