2 * Copyright (c) 2010-2023 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.weathercompany.internal.config;
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16 import org.eclipse.jdt.annotation.Nullable;
19 * The {@link WeatherCompanyForecastConfig} class contains fields mapping thing configuration parameters.
21 * @author Mark Hilbush - Initial contribution
24 public class WeatherCompanyForecastConfig {
26 * Type of location (postal, geocode, etc.)
28 public @Nullable String locationType;
33 public @Nullable String postalCode;
38 public @Nullable String geocode;
43 public @Nullable String iataCode;
48 public @Nullable String language;
51 * Interval with which forecast will be updated.
53 public int refreshInterval;
56 public String toString() {
57 return "WeatherCompanyConfig: { locationType=" + locationType + ", postalCode=" + postalCode + ", geocode="
58 + geocode + ", iataCode=" + iataCode + ", language=" + language + ", refreshInterval=" + refreshInterval