// 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 type of the track event. */
public final class LiveEventTrackEventType extends ExpandableStringEnum<LiveEventTrackEventType> {
    /** Static value TrackEvent/IngestHeartbeat for LiveEventTrackEventType. */
    public static final LiveEventTrackEventType TRACK_EVENT_INGEST_HEARTBEAT = fromString("TrackEvent/IngestHeartbeat");

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

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

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