// 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.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;

/** This object is returned from a successful Route Reachable Range call. */
@Fluent
public final class RouteRangeResult {
    /*
     * Format Version property
     */
    @JsonProperty(value = "formatVersion", access = JsonProperty.Access.WRITE_ONLY)
    private String formatVersion;

    /*
     * Reachable Range
     */
    @JsonProperty(value = "reachableRange")
    private RouteRange reachableRange;

    /*
     * Reports the effective settings used in the current call.
     */
    @JsonProperty(value = "report")
    private RouteReport report;

    /**
     * Get the formatVersion property: Format Version property.
     *
     * @return the formatVersion value.
     */
    public String getFormatVersion() {
        return this.formatVersion;
    }

    /**
     * Get the reachableRange property: Reachable Range.
     *
     * @return the reachableRange value.
     */
    public RouteRange getReachableRange() {
        return this.reachableRange;
    }

    /**
     * Set the reachableRange property: Reachable Range.
     *
     * @param reachableRange the reachableRange value to set.
     * @return the RouteRangeResult object itself.
     */
    public RouteRangeResult setReachableRange(RouteRange reachableRange) {
        this.reachableRange = reachableRange;
        return this;
    }

    /**
     * Get the report property: Reports the effective settings used in the current call.
     *
     * @return the report value.
     */
    public RouteReport getReport() {
        return this.report;
    }

    /**
     * Set the report property: Reports the effective settings used in the current call.
     *
     * @param report the report value to set.
     * @return the RouteRangeResult object itself.
     */
    public RouteRangeResult setReport(RouteReport report) {
        this.report = report;
        return this;
    }
}
