2 * Copyright (c) 2010-2020 Contributors to the openHAB project
4 * See the NOTICE file(s) distributed with this work for additional
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
11 * SPDX-License-Identifier: EPL-2.0
13 package org.openhab.binding.volvooncall.internal.dto;
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16 import org.eclipse.jdt.annotation.Nullable;
18 import com.google.gson.annotations.SerializedName;
21 * The {@link CustomerAccounts} is responsible for storing
22 * informations returned by customerAccount rest answer
24 * @author Gaƫl L'hopital - Initial contribution
27 public class CustomerAccounts extends VocAnswer {
28 @SerializedName("accountVehicleRelations")
29 public @NonNullByDefault({}) String[] accountVehicleRelationsURL;
30 public @Nullable String username;
33 * Currently unused in the binding, maybe interesting in the future
34 * private String firstName;
35 * private String lastName;
36 * private String accountId;
37 * private String account;