All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.microsoft.graph.beta.generated.models.Label Maven / Gradle / Ivy

package com.microsoft.graph.beta.models;

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

@jakarta.annotation.Generated("com.microsoft.kiota")
public enum Label implements ValuedEnum {
    Title("title"),
    Url("url"),
    CreatedBy("createdBy"),
    LastModifiedBy("lastModifiedBy"),
    Authors("authors"),
    CreatedDateTime("createdDateTime"),
    LastModifiedDateTime("lastModifiedDateTime"),
    FileName("fileName"),
    FileExtension("fileExtension");
    public final String value;
    Label(final String value) {
        this.value = value;
    }
    @jakarta.annotation.Nonnull
    public String getValue() { return this.value; }
    @jakarta.annotation.Nullable
    public static Label forValue(@jakarta.annotation.Nonnull final String searchValue) {
        Objects.requireNonNull(searchValue);
        switch(searchValue) {
            case "title": return Title;
            case "url": return Url;
            case "createdBy": return CreatedBy;
            case "lastModifiedBy": return LastModifiedBy;
            case "authors": return Authors;
            case "createdDateTime": return CreatedDateTime;
            case "lastModifiedDateTime": return LastModifiedDateTime;
            case "fileName": return FileName;
            case "fileExtension": return FileExtension;
            default: return null;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy