[VigiCrues] Adding missing header to HubEauResponse (#8996)

* Adding missing header to HubEauResponse
* Hard to merge !

Signed-off-by: clinique <gael@lhopital.org>
This commit is contained in:
Gaël L'hopital 2020-11-10 18:03:34 +01:00 committed by GitHub
parent c0118930be
commit adde339414
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View 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;