// 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 PlayReady content type. */
public final class ContentKeyPolicyPlayReadyContentType
    extends ExpandableStringEnum<ContentKeyPolicyPlayReadyContentType> {
    /** Static value Unknown for ContentKeyPolicyPlayReadyContentType. */
    public static final ContentKeyPolicyPlayReadyContentType UNKNOWN = fromString("Unknown");

    /** Static value Unspecified for ContentKeyPolicyPlayReadyContentType. */
    public static final ContentKeyPolicyPlayReadyContentType UNSPECIFIED = fromString("Unspecified");

    /** Static value UltraVioletDownload for ContentKeyPolicyPlayReadyContentType. */
    public static final ContentKeyPolicyPlayReadyContentType ULTRA_VIOLET_DOWNLOAD = fromString("UltraVioletDownload");

    /** Static value UltraVioletStreaming for ContentKeyPolicyPlayReadyContentType. */
    public static final ContentKeyPolicyPlayReadyContentType ULTRA_VIOLET_STREAMING =
        fromString("UltraVioletStreaming");

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

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

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