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

package com.azure.media.videoanalyzer.edge.models;

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

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

    /** Static value ASP for Mpeg4Profile. */
    public static final Mpeg4Profile ASP = fromString("ASP");

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

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