// 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 ExportResultFormat. */
public final class ExportResultFormat extends ExpandableStringEnum<ExportResultFormat> {
    /** Static value swagger-link-json for ExportResultFormat. */
    public static final ExportResultFormat SWAGGER_LINK_JSON = fromString("swagger-link-json");

    /** Static value wsdl-link+xml for ExportResultFormat. */
    public static final ExportResultFormat WSDL_LINK_XML = fromString("wsdl-link+xml");

    /** Static value wadl-link-json for ExportResultFormat. */
    public static final ExportResultFormat WADL_LINK_JSON = fromString("wadl-link-json");

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

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

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