2 * Copyright (c) 2010-2024 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.meteoalerte.internal.json;
15 import java.util.Optional;
17 import org.eclipse.jdt.annotation.NonNullByDefault;
18 import org.eclipse.jdt.annotation.Nullable;
20 import com.google.gson.annotations.SerializedName;
23 * The {@link Parameters} is the Java class used to map the JSON
24 * response to the webservice request.
26 * @author Gaƫl L'hopital - Initial contribution
29 public class Parameters {
30 private String dataset = "";
31 @SerializedName("timezone")
32 private String timeZone = "";
34 private String format = "";
35 private @Nullable Refine refine;
37 public String getDataset() {
41 public String getTimezone() {
45 public int getRows() {
49 public String getFormat() {
53 public Optional<Refine> getRefine() {
54 return Optional.ofNullable(refine);