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

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

package com.microsoft.graph.beta.models;

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

/**
 * An enum type to represent approval status of a driver.
 */
@jakarta.annotation.Generated("com.microsoft.kiota")
public enum DriverApprovalStatus implements ValuedEnum {
    /** This indicates a driver needs IT admin's review. */
    NeedsReview("needsReview"),
    /** This indicates IT admin has declined a driver. */
    Declined("declined"),
    /** This indicates IT admin has approved a driver. */
    Approved("approved"),
    /** This indicates IT admin has suspended a driver. */
    Suspended("suspended");
    public final String value;
    DriverApprovalStatus(final String value) {
        this.value = value;
    }
    @jakarta.annotation.Nonnull
    public String getValue() { return this.value; }
    @jakarta.annotation.Nullable
    public static DriverApprovalStatus forValue(@jakarta.annotation.Nonnull final String searchValue) {
        Objects.requireNonNull(searchValue);
        switch(searchValue) {
            case "needsReview": return NeedsReview;
            case "declined": return Declined;
            case "approved": return Approved;
            case "suspended": return Suspended;
            default: return null;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy