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

package com.azure.media.videoanalyzer.edge.models;

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

/** Defines values for ParameterType. */
public final class ParameterType extends ExpandableStringEnum<ParameterType> {
    /** Static value string for ParameterType. */
    public static final ParameterType STRING = fromString("string");

    /** Static value secretString for ParameterType. */
    public static final ParameterType SECRET_STRING = fromString("secretString");

    /** Static value int for ParameterType. */
    public static final ParameterType INT = fromString("int");

    /** Static value double for ParameterType. */
    public static final ParameterType DOUBLE = fromString("double");

    /** Static value bool for ParameterType. */
    public static final ParameterType BOOL = fromString("bool");

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

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