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

package com.azure.resourcemanager.videoanalyzer.models;

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

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

    /** Static value File for VideoType. */
    public static final VideoType FILE = fromString("File");

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

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