]> git.basschouten.com Git - openhab-addons.git/blob
dab281719fa70f8ee27e801004cc84046582199c
[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 java.util.ArrayList;
16 import java.util.List;
17
18 import org.eclipse.jdt.annotation.NonNullByDefault;
19 import org.eclipse.jdt.annotation.Nullable;
20
21 import com.google.gson.annotations.SerializedName;
22
23 /**
24  * The {@link CustomerAccounts} is responsible for storing
25  * informations returned by customerAccount rest answer
26  *
27  * @author GaĆ«l L'hopital - Initial contribution
28  */
29 @NonNullByDefault
30 public class CustomerAccounts extends VocAnswer {
31     @SerializedName("accountVehicleRelations")
32     public List<String> accountVehicleRelationsURL = new ArrayList<>();
33     public @Nullable String username;
34
35     /*
36      * Currently unused in the binding, maybe interesting in the future
37      * private String firstName;
38      * private String lastName;
39      * private String accountId;
40      * private String account;
41      */
42 }