// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.maps.weather.models;

import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;

/** Local weather data provider information. */
@Fluent
public final class LocalSource {
    /*
     * Numeric identifier, unique to the local data provider.
     */
    @JsonProperty(value = "id")
    private Integer id;

    /*
     * Name of the local data provider. Name is displayed in the language specified by language code in URL, if
     * available. Otherwise, Name is displayed in English or the language in which the name was provided.
     */
    @JsonProperty(value = "name")
    private String name;

    /*
     * Weather code provided by the local data provider. This weather code allows the forecast to be matched to icons
     * provided by the local data provider instead of Azure Maps icons.
     */
    @JsonProperty(value = "weatherCode")
    private String weatherCode;

    /** Set default LocalSource constructor to private */
    private LocalSource() {}

    /**
     * Get the id property: Numeric identifier, unique to the local data provider.
     *
     * @return the id value.
     */
    public Integer getId() {
        return this.id;
    }

    /**
     * Get the name property: Name of the local data provider. Name is displayed in the language specified by language
     * code in URL, if available. Otherwise, Name is displayed in English or the language in which the name was
     * provided.
     *
     * @return the name value.
     */
    public String getName() {
        return this.name;
    }

    /**
     * Get the weatherCode property: Weather code provided by the local data provider. This weather code allows the
     * forecast to be matched to icons provided by the local data provider instead of Azure Maps icons.
     *
     * @return the weatherCode value.
     */
    public String getWeatherCode() {
        return this.weatherCode;
    }
}
