[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:
parent
c0118930be
commit
adde339414
@ -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;
|
package org.openhab.binding.vigicrues.internal.dto.hubeau;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import com.google.gson.annotations.SerializedName;
|
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 HubEauResponse {
|
||||||
public class StationData {
|
public class StationData {
|
||||||
@SerializedName("en_service")
|
@SerializedName("en_service")
|
||||||
@ -130,7 +148,7 @@ public class HubEauResponse {
|
|||||||
public List<StationData> stations;
|
public List<StationData> stations;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Currently unused, maybe interesting in the future
|
* Currently unused, could be interesting in the future
|
||||||
* public String first;
|
* public String first;
|
||||||
* public String last;
|
* public String last;
|
||||||
* public String prev;
|
* public String prev;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user