All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.microsoft.graph.beta.generated.models.PolicySetStatus Maven / Gradle / Ivy

There is a newer version: 6.26.0
Show newest version
package com.microsoft.graph.beta.models;

import com.microsoft.kiota.serialization.ValuedEnum;
import java.util.Objects;

/**
 * The enum to specify the status of PolicySet.
 */
@jakarta.annotation.Generated("com.microsoft.kiota")
public enum PolicySetStatus implements ValuedEnum {
    /** Default Value. */
    Unknown("unknown"),
    /** All PolicySet items are now validating for corresponding settings of workloads. */
    Validating("validating"),
    /** Post process complete for all PolicySet items but there are failures. */
    PartialSuccess("partialSuccess"),
    /** All PolicySet items are deployed. Doesnt mean that all deployment succeeded.  */
    Success("success"),
    /** PolicySet processing completely failed. */
    Error("error"),
    /** PolicySet/PolicySetItem is not assigned to any group. */
    NotAssigned("notAssigned");
    public final String value;
    PolicySetStatus(final String value) {
        this.value = value;
    }
    @jakarta.annotation.Nonnull
    public String getValue() { return this.value; }
    @jakarta.annotation.Nullable
    public static PolicySetStatus forValue(@jakarta.annotation.Nonnull final String searchValue) {
        Objects.requireNonNull(searchValue);
        switch(searchValue) {
            case "unknown": return Unknown;
            case "validating": return Validating;
            case "partialSuccess": return PartialSuccess;
            case "success": return Success;
            case "error": return Error;
            case "notAssigned": return NotAssigned;
            default: return null;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy