// 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;

/** This object is returned from a successful POI Category Tree call. */
@Immutable
public final class PointOfInterestCategoryTreeResult {
    /*
     * Categories array
     */
    @JsonProperty(value = "poiCategories", access = JsonProperty.Access.WRITE_ONLY)
    private List<PointOfInterestCategory> categories;

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

    /**
     * Get the categories property: Categories array.
     *
     * @return the categories value.
     */
    public List<PointOfInterestCategory> getCategories() {
        return this.categories;
    }
}
