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

package com.azure.resourcemanager.datafactory.models;

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

/** Trigger reference type. */
public final class TriggerReferenceType extends ExpandableStringEnum<TriggerReferenceType> {
    /** Static value TriggerReference for TriggerReferenceType. */
    public static final TriggerReferenceType TRIGGER_REFERENCE = fromString("TriggerReference");

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

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

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