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

/** The classification for the POI being returned. */
@Immutable
public final class Classification {
    /*
     * Code property
     */
    @JsonProperty(value = "code", access = JsonProperty.Access.WRITE_ONLY)
    private String code;

    /*
     * Names array
     */
    @JsonProperty(value = "names", access = JsonProperty.Access.WRITE_ONLY)
    private List<ClassificationName> names;

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

    /**
     * Get the code property: Code property.
     *
     * @return the code value.
     */
    public String getCode() {
        return this.code;
    }

    /**
     * Get the names property: Names array.
     *
     * @return the names value.
     */
    public List<ClassificationName> getNames() {
        return this.names;
    }
}
