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

package com.azure.maps.search.models;

import com.azure.core.annotation.Immutable;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;

/** POI category result. */
@Immutable
public final class PointOfInterestCategory {
    /*
     * Unique ID for the category. ID can be used to restrict search results to specific categories through other
     * Search Service APIs, like [Get Search POI](https://docs.microsoft.com/rest/api/maps/search/getsearchpoi).
     */
    @JsonProperty(value = "id", access = JsonProperty.Access.WRITE_ONLY)
    private Integer id;

    /*
     * Name of the category
     */
    @JsonProperty(value = "name", access = JsonProperty.Access.WRITE_ONLY)
    private String name;

    /*
     * Array of child category ids
     */
    @JsonProperty(value = "childCategoryIds", access = JsonProperty.Access.WRITE_ONLY)
    private List<Integer> childIds;

    /*
     * Array of alternative names of the category
     */
    @JsonProperty(value = "synonyms", access = JsonProperty.Access.WRITE_ONLY)
    private List<String> synonyms;

    /** Creates an instance of PointOfInterestCategory class. */
    public PointOfInterestCategory() {}

    /**
     * Get the id property: Unique ID for the category. ID can be used to restrict search results to specific categories
     * through other Search Service APIs, like [Get Search
     * POI](https://docs.microsoft.com/rest/api/maps/search/getsearchpoi).
     *
     * @return the id value.
     */
    public Integer getId() {
        return this.id;
    }

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

    /**
     * Get the childIds property: Array of child category ids.
     *
     * @return the childIds value.
     */
    public List<Integer> getChildIds() {
        return this.childIds;
    }

    /**
     * Get the synonyms property: Array of alternative names of the category.
     *
     * @return the synonyms value.
     */
    public List<String> getSynonyms() {
        return this.synonyms;
    }
}
