com.microsoft.graph.generated.models.ManagedAppDataTransferLevel Maven / Gradle / Ivy
package com.microsoft.graph.models;
import com.microsoft.kiota.serialization.ValuedEnum;
import java.util.Objects;
/**
* Data can be transferred from/to these classes of apps
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public enum ManagedAppDataTransferLevel implements ValuedEnum {
/** All apps. */
AllApps("allApps"),
/** Managed apps. */
ManagedApps("managedApps"),
/** No apps. */
None("none");
public final String value;
ManagedAppDataTransferLevel(final String value) {
this.value = value;
}
@jakarta.annotation.Nonnull
public String getValue() { return this.value; }
@jakarta.annotation.Nullable
public static ManagedAppDataTransferLevel forValue(@jakarta.annotation.Nonnull final String searchValue) {
Objects.requireNonNull(searchValue);
switch(searchValue) {
case "allApps": return AllApps;
case "managedApps": return ManagedApps;
case "none": return None;
default: return null;
}
}
}