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

com.microsoft.graph.beta.generated.models.DeviceAppManagementTaskStatus 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;

/**
 * Device app management task status.
 */
@jakarta.annotation.Generated("com.microsoft.kiota")
public enum DeviceAppManagementTaskStatus implements ValuedEnum {
    /** State is undefined. */
    Unknown("unknown"),
    /** The task is ready for review. */
    Pending("pending"),
    /** The task has been accepted and is being worked on. */
    Active("active"),
    /** The work is complete. */
    Completed("completed"),
    /** The task was rejected. */
    Rejected("rejected");
    public final String value;
    DeviceAppManagementTaskStatus(final String value) {
        this.value = value;
    }
    @jakarta.annotation.Nonnull
    public String getValue() { return this.value; }
    @jakarta.annotation.Nullable
    public static DeviceAppManagementTaskStatus forValue(@jakarta.annotation.Nonnull final String searchValue) {
        Objects.requireNonNull(searchValue);
        switch(searchValue) {
            case "unknown": return Unknown;
            case "pending": return Pending;
            case "active": return Active;
            case "completed": return Completed;
            case "rejected": return Rejected;
            default: return null;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy