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

package com.azure.resourcemanager.mediaservices.models;

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

/** The resource state of the live output. */
public final class LiveOutputResourceState extends ExpandableStringEnum<LiveOutputResourceState> {
    /** Static value Creating for LiveOutputResourceState. */
    public static final LiveOutputResourceState CREATING = fromString("Creating");

    /** Static value Running for LiveOutputResourceState. */
    public static final LiveOutputResourceState RUNNING = fromString("Running");

    /** Static value Deleting for LiveOutputResourceState. */
    public static final LiveOutputResourceState DELETING = fromString("Deleting");

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

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

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