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

com.microsoft.graph.generated.models.ManagedDevicePartnerReportedHealthState Maven / Gradle / Ivy

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

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

/**
 * Available health states for the Device Health API
 */
@jakarta.annotation.Generated("com.microsoft.kiota")
public enum ManagedDevicePartnerReportedHealthState implements ValuedEnum {
    /** Device health state is not yet reported */
    Unknown("unknown"),
    /** Device has been activated by a mobile threat defense partner, but has not yet reported health. */
    Activated("activated"),
    /** Device has been deactivated by a mobile threat defense partner. The device health is not known. */
    Deactivated("deactivated"),
    /** Device is considered secured by the mobile threat defense partner. */
    Secured("secured"),
    /** Device is considered low threat by the mobile threat defense partner. */
    LowSeverity("lowSeverity"),
    /** Device is considered medium threat by the mobile threat defense partner. */
    MediumSeverity("mediumSeverity"),
    /** Device is considered high threat by the mobile threat defense partner. */
    HighSeverity("highSeverity"),
    /** Device is considered unresponsive by the mobile threat defense partner. The device health is not known. */
    Unresponsive("unresponsive"),
    /** Device is considered compromised by the Threat Defense partner. This means the device has an active Threat or Risk which cannot be easily remediated by the end user and the user should contact their IT Admin. */
    Compromised("compromised"),
    /** Device is considered misconfigured with the Threat Defense partner. This means the device is missing a required profile or configuration for the Threat Defense Partner to function properly and is thus threat or risk analysis is not able to complete. */
    Misconfigured("misconfigured");
    public final String value;
    ManagedDevicePartnerReportedHealthState(final String value) {
        this.value = value;
    }
    @jakarta.annotation.Nonnull
    public String getValue() { return this.value; }
    @jakarta.annotation.Nullable
    public static ManagedDevicePartnerReportedHealthState forValue(@jakarta.annotation.Nonnull final String searchValue) {
        Objects.requireNonNull(searchValue);
        switch(searchValue) {
            case "unknown": return Unknown;
            case "activated": return Activated;
            case "deactivated": return Deactivated;
            case "secured": return Secured;
            case "lowSeverity": return LowSeverity;
            case "mediumSeverity": return MediumSeverity;
            case "highSeverity": return HighSeverity;
            case "unresponsive": return Unresponsive;
            case "compromised": return Compromised;
            case "misconfigured": return Misconfigured;
            default: return null;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy