com.microsoft.graph.generated.models.LobbyBypassScope 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 LobbyBypassScope implements ValuedEnum {
Organizer("organizer"),
Organization("organization"),
OrganizationAndFederated("organizationAndFederated"),
Everyone("everyone"),
UnknownFutureValue("unknownFutureValue"),
Invited("invited"),
OrganizationExcludingGuests("organizationExcludingGuests");
public final String value;
LobbyBypassScope(final String value) {
this.value = value;
}
@jakarta.annotation.Nonnull
public String getValue() { return this.value; }
@jakarta.annotation.Nullable
public static LobbyBypassScope forValue(@jakarta.annotation.Nonnull final String searchValue) {
Objects.requireNonNull(searchValue);
switch(searchValue) {
case "organizer": return Organizer;
case "organization": return Organization;
case "organizationAndFederated": return OrganizationAndFederated;
case "everyone": return Everyone;
case "unknownFutureValue": return UnknownFutureValue;
case "invited": return Invited;
case "organizationExcludingGuests": return OrganizationExcludingGuests;
default: return null;
}
}
}