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

package com.azure.resourcemanager.education.models;

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

/** The status of this lab. */
public final class LabStatus extends ExpandableStringEnum<LabStatus> {
    /** Static value Active for LabStatus. */
    public static final LabStatus ACTIVE = fromString("Active");

    /** Static value Deleted for LabStatus. */
    public static final LabStatus DELETED = fromString("Deleted");

    /** Static value Pending for LabStatus. */
    public static final LabStatus PENDING = fromString("Pending");

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

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