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

package com.azure.resourcemanager.automation.models;

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

/** Runbook Type. */
public final class GraphRunbookType extends ExpandableStringEnum<GraphRunbookType> {
    /** Static value GraphPowerShell for GraphRunbookType. */
    public static final GraphRunbookType GRAPH_POWER_SHELL = fromString("GraphPowerShell");

    /** Static value GraphPowerShellWorkflow for GraphRunbookType. */
    public static final GraphRunbookType GRAPH_POWER_SHELL_WORKFLOW = fromString("GraphPowerShellWorkflow");

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

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