com.microsoft.graph.generated.models.DirectoryDefinitionDiscoverabilities Maven / Gradle / Ivy
package com.microsoft.graph.models;
import com.microsoft.kiota.serialization.ValuedEnum;
import java.util.Objects;
@jakarta.annotation.Generated("com.microsoft.kiota")
public enum DirectoryDefinitionDiscoverabilities implements ValuedEnum {
None("None"),
AttributeNames("AttributeNames"),
AttributeDataTypes("AttributeDataTypes"),
AttributeReadOnly("AttributeReadOnly"),
ReferenceAttributes("ReferenceAttributes"),
UnknownFutureValue("UnknownFutureValue");
public final String value;
DirectoryDefinitionDiscoverabilities(final String value) {
this.value = value;
}
@jakarta.annotation.Nonnull
public String getValue() { return this.value; }
@jakarta.annotation.Nullable
public static DirectoryDefinitionDiscoverabilities forValue(@jakarta.annotation.Nonnull final String searchValue) {
Objects.requireNonNull(searchValue);
switch(searchValue) {
case "None": return None;
case "AttributeNames": return AttributeNames;
case "AttributeDataTypes": return AttributeDataTypes;
case "AttributeReadOnly": return AttributeReadOnly;
case "ReferenceAttributes": return ReferenceAttributes;
case "UnknownFutureValue": return UnknownFutureValue;
default: return null;
}
}
}