]> git.basschouten.com Git - openhab-addons.git/commitdiff
[VigiCrues] Adding missing header to HubEauResponse (#8996)
authorGaël L'hopital <gael@lhopital.org>
Tue, 10 Nov 2020 17:03:34 +0000 (18:03 +0100)
committerGitHub <noreply@github.com>
Tue, 10 Nov 2020 17:03:34 +0000 (09:03 -0800)
* Adding missing header to HubEauResponse
* Hard to merge !

Signed-off-by: clinique <gael@lhopital.org>
bundles/org.openhab.binding.vigicrues/src/main/java/org/openhab/binding/vigicrues/internal/dto/hubeau/HubEauResponse.java

index 3aea34b3848c8cf3ce8764f5337b1b6a1ae886b3..651bf19d6cbf388fe80065594a164a9ed17cd6d5 100644 (file)
@@ -1,9 +1,27 @@
+/**
+ * Copyright (c) 2010-2020 Contributors to the openHAB project
+ *
+ * See the NOTICE file(s) distributed with this work for additional
+ * information.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License 2.0 which is available at
+ * http://www.eclipse.org/legal/epl-2.0
+ *
+ * SPDX-License-Identifier: EPL-2.0
+ */
 package org.openhab.binding.vigicrues.internal.dto.hubeau;
 
 import java.util.List;
 
 import com.google.gson.annotations.SerializedName;
 
+/**
+ * The {@link HubEauResponse} is the Java class used to map the JSON
+ * response to an HubEau webservice endpoint request.
+ *
+ * @author Gaël L'hopital - Initial contribution
+ */
 public class HubEauResponse {
     public class StationData {
         @SerializedName("en_service")
@@ -130,7 +148,7 @@ public class HubEauResponse {
     public List<StationData> stations;
 
     /*
-     * Currently unused, maybe interesting in the future
+     * Currently unused, could be interesting in the future
      * public String first;
      * public String last;
      * public String prev;