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

package com.azure.maps.route.models;

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

/** Reports the effective settings used in the current call. */
@Immutable
public final class RouteReport {
    /*
     * Effective parameters or data used when calling this Route API.
     */
    @JsonProperty(value = "effectiveSettings", access = JsonProperty.Access.WRITE_ONLY)
    private List<EffectiveSetting> effectiveSettings;

    /**
     * Get the effectiveSettings property: Effective parameters or data used when calling this Route API.
     *
     * @return the effectiveSettings value.
     */
    public Map<String, String> getEffectiveSettings() {
        Map<String, String> map = new HashMap<>();
        for (EffectiveSetting effectiveSetting : this.effectiveSettings) {
            map.put(effectiveSetting.getKey(), effectiveSetting.getValue());
        }
        return map;
    }
}
