]> git.basschouten.com Git - openhab-addons.git/blob
bf44f329332fe05e0516bd348f82e517dafe7946
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2022 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 Trip} is responsible for storing
25  * trip informations returned by trip rest answer
26  *
27  * @author GaĆ«l L'hopital - Initial contribution
28  */
29 @NonNullByDefault
30 public class Trip {
31     public long id;
32     public List<TripDetail> tripDetails = new ArrayList<>();
33     @SerializedName("trip")
34     public @Nullable String tripURL;
35
36     /*
37      * Currently unused in the binding, maybe interesting in the future
38      * private String name;
39      * private String category;
40      * private String userNotes;
41      */
42 }