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

package com.azure.resourcemanager.devhub.models;

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

/** Determines the type of manifests within the repository. */
public final class ManifestType extends ExpandableStringEnum<ManifestType> {
    /** Static value helm for ManifestType. */
    public static final ManifestType HELM = fromString("helm");

    /** Static value kube for ManifestType. */
    public static final ManifestType KUBE = fromString("kube");

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

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

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