com.microsoft.graph.generated.models.BinaryOperator 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 BinaryOperator implements ValuedEnum {
Or("or"),
And("and");
public final String value;
BinaryOperator(final String value) {
this.value = value;
}
@jakarta.annotation.Nonnull
public String getValue() { return this.value; }
@jakarta.annotation.Nullable
public static BinaryOperator forValue(@jakarta.annotation.Nonnull final String searchValue) {
Objects.requireNonNull(searchValue);
switch(searchValue) {
case "or": return Or;
case "and": return And;
default: return null;
}
}
}