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

package com.azure.analytics.purview.sharing.models;

import java.util.Collection;

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

/**
 * The types of asset.
 */
public final class StoreKind extends ExpandableStringEnum<StoreKind> {
    /**
     * The store kind is a Adls Gen 2 storage account.
     */
    public static final StoreKind ADLS_GEN2STORAGE_ACCOUNT_STORE_KIND = fromString("AdlsGen2Account");

    /**
     * The store kind is a Blob storage account.
     */
    public static final StoreKind BLOB_STORAGE_ACCOUNT_STORE_KIND = fromString("BlobAccount");

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

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

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