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

package com.azure.resourcemanager.apimanagement.models;

import com.azure.core.util.ExpandableStringEnum;
import com.fasterxml.jackson.annotation.JsonCreator;
import java.util.Collection;

/** Defines values for ExportFormat. */
public final class ExportFormat extends ExpandableStringEnum<ExportFormat> {
    /** Static value swagger-link for ExportFormat. */
    public static final ExportFormat SWAGGER_LINK = fromString("swagger-link");

    /** Static value wsdl-link for ExportFormat. */
    public static final ExportFormat WSDL_LINK = fromString("wsdl-link");

    /** Static value wadl-link for ExportFormat. */
    public static final ExportFormat WADL_LINK = fromString("wadl-link");

    /** Static value openapi-link for ExportFormat. */
    public static final ExportFormat OPENAPI_LINK = fromString("openapi-link");

    /** Static value openapi+json-link for ExportFormat. */
    public static final ExportFormat OPENAPI_JSON_LINK = fromString("openapi+json-link");

    /**
     * Creates or finds a ExportFormat from its string representation.
     *
     * @param name a name to look for.
     * @return the corresponding ExportFormat.
     */
    @JsonCreator
    public static ExportFormat fromString(String name) {
        return fromString(name, ExportFormat.class);
    }

    /** @return known ExportFormat values. */
    public static Collection<ExportFormat> values() {
        return values(ExportFormat.class);
    }
}
