/**
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License. See License.txt in the project root for
 * license information.
 *
 * Code generated by Microsoft (R) AutoRest Code Generator.
 */

package com.microsoft.azure.management.mediaservices.v2019_05_01_preview;

import java.util.Collection;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.microsoft.rest.ExpandableStringEnum;

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

    /** Static value ReadWrite for AssetContainerPermission. */
    public static final AssetContainerPermission READ_WRITE = fromString("ReadWrite");

    /** Static value ReadWriteDelete for AssetContainerPermission. */
    public static final AssetContainerPermission READ_WRITE_DELETE = fromString("ReadWriteDelete");

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

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