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

package com.azure.resourcemanager.securityinsights.models;

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

/** Describes the state of user's license for a connector kind. */
public final class DataConnectorLicenseState extends ExpandableStringEnum<DataConnectorLicenseState> {
    /** Static value Valid for DataConnectorLicenseState. */
    public static final DataConnectorLicenseState VALID = fromString("Valid");

    /** Static value Invalid for DataConnectorLicenseState. */
    public static final DataConnectorLicenseState INVALID = fromString("Invalid");

    /** Static value Unknown for DataConnectorLicenseState. */
    public static final DataConnectorLicenseState UNKNOWN = fromString("Unknown");

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

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