// 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 RtspTransport. */
public final class RtspTransport extends ExpandableStringEnum<RtspTransport> {
    /** Static value Http for RtspTransport. */
    public static final RtspTransport HTTP = fromString("Http");

    /** Static value Tcp for RtspTransport. */
    public static final RtspTransport TCP = fromString("Tcp");

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

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