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

package com.azure.maps.timezone.models;

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

/** A country record. */
@Immutable
public final class CountryRecord {
    /*
     * Country Name
     */
    @JsonProperty(value = "Name", access = JsonProperty.Access.WRITE_ONLY)
    private String name;

    /*
     * ISO-3166 2-letter country code for the country.
     */
    @JsonProperty(value = "Code", access = JsonProperty.Access.WRITE_ONLY)
    private String code;

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

    /**
     * Get the name property: Country Name.
     *
     * @return the name value.
     */
    public String getName() {
        return this.name;
    }

    /**
     * Get the code property: ISO-3166 2-letter country code for the country.
     *
     * @return the code value.
     */
    public String getCode() {
        return this.code;
    }
}
