com.microsoft.graph.beta.generated.models.WindowsMalwareExecutionState Maven / Gradle / Ivy
package com.microsoft.graph.beta.models;
import com.microsoft.kiota.serialization.ValuedEnum;
import java.util.Objects;
/**
* Malware execution status
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public enum WindowsMalwareExecutionState implements ValuedEnum {
/** Unknown */
Unknown("unknown"),
/** Blocked */
Blocked("blocked"),
/** Allowed */
Allowed("allowed"),
/** Running */
Running("running"),
/** Not running */
NotRunning("notRunning");
public final String value;
WindowsMalwareExecutionState(final String value) {
this.value = value;
}
@jakarta.annotation.Nonnull
public String getValue() { return this.value; }
@jakarta.annotation.Nullable
public static WindowsMalwareExecutionState forValue(@jakarta.annotation.Nonnull final String searchValue) {
Objects.requireNonNull(searchValue);
switch(searchValue) {
case "unknown": return Unknown;
case "blocked": return Blocked;
case "allowed": return Allowed;
case "running": return Running;
case "notRunning": return NotRunning;
default: return null;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy