// 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 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);
    }

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