/**
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License. See License.txt in the project root for
 * license information.
 *
 * Code generated by Microsoft (R) AutoRest Code Generator.
 */

package com.microsoft.azure.management.containerregistry.v2018_09_01;

import java.util.Collection;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.microsoft.rest.ExpandableStringEnum;

/**
 * Defines values for RunType.
 */
public final class RunType extends ExpandableStringEnum<RunType> {
    /** Static value QuickBuild for RunType. */
    public static final RunType QUICK_BUILD = fromString("QuickBuild");

    /** Static value QuickRun for RunType. */
    public static final RunType QUICK_RUN = fromString("QuickRun");

    /** Static value AutoBuild for RunType. */
    public static final RunType AUTO_BUILD = fromString("AutoBuild");

    /** Static value AutoRun for RunType. */
    public static final RunType AUTO_RUN = fromString("AutoRun");

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

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