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

package com.azure.resourcemanager.logic.models;

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

/** The WSDL import method. */
public final class WsdlImportMethod extends ExpandableStringEnum<WsdlImportMethod> {
    /** Static value NotSpecified for WsdlImportMethod. */
    public static final WsdlImportMethod NOT_SPECIFIED = fromString("NotSpecified");

    /** Static value SoapToRest for WsdlImportMethod. */
    public static final WsdlImportMethod SOAP_TO_REST = fromString("SoapToRest");

    /** Static value SoapPassThrough for WsdlImportMethod. */
    public static final WsdlImportMethod SOAP_PASS_THROUGH = fromString("SoapPassThrough");

    /**
     * Creates a new instance of WsdlImportMethod value.
     *
     * @deprecated Use the {@link #fromString(String)} factory method.
     */
    @Deprecated
    public WsdlImportMethod() {
    }

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

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