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

package com.azure.verticals.agrifood.farming;

import com.azure.core.util.ServiceVersion;

/** Service version of FarmBeatsClient. */
public enum FarmBeatsServiceVersion implements ServiceVersion {
    /** Enum value 2022-11-01-preview. */
    V2022_11_01_PREVIEW("2022-11-01-preview");

    private final String version;

    FarmBeatsServiceVersion(String version) {
        this.version = version;
    }

    /** {@inheritDoc} */
    @Override
    public String getVersion() {
        return this.version;
    }

    /**
     * Gets the latest service version supported by this client library.
     *
     * @return The latest {@link FarmBeatsServiceVersion}.
     */
    public static FarmBeatsServiceVersion getLatest() {
        return V2022_11_01_PREVIEW;
    }
}
