package com.microsoft.graph.models;

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

@jakarta.annotation.Generated("com.microsoft.kiota")
public enum AttributeMappingSourceType implements ValuedEnum {
    Attribute("Attribute"),
    Constant("Constant"),
    Function("Function");
    public final String value;
    AttributeMappingSourceType(final String value) {
        this.value = value;
    }
    @jakarta.annotation.Nonnull
    public String getValue() { return this.value; }
    @jakarta.annotation.Nullable
    public static AttributeMappingSourceType forValue(@jakarta.annotation.Nonnull final String searchValue) {
        Objects.requireNonNull(searchValue);
        switch(searchValue) {
            case "Attribute": return Attribute;
            case "Constant": return Constant;
            case "Function": return Function;
            default: return null;
        }
    }
}
