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

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

There is a newer version: 6.26.0
Show newest version
package com.microsoft.graph.beta.models;

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

@jakarta.annotation.Generated("com.microsoft.kiota")
public enum ConditionalAccessRule implements ValuedEnum {
    AllApps("allApps"),
    FirstPartyApps("firstPartyApps"),
    Office365("office365"),
    AppId("appId"),
    Acr("acr"),
    AppFilter("appFilter"),
    AllUsers("allUsers"),
    Guest("guest"),
    GroupId("groupId"),
    RoleId("roleId"),
    UserId("userId"),
    AllDevicePlatforms("allDevicePlatforms"),
    DevicePlatform("devicePlatform"),
    AllLocations("allLocations"),
    InsideCorpnet("insideCorpnet"),
    AllTrustedLocations("allTrustedLocations"),
    LocationId("locationId"),
    AllDevices("allDevices"),
    DeviceFilter("deviceFilter"),
    DeviceState("deviceState"),
    UnknownFutureValue("unknownFutureValue"),
    DeviceFilterIncludeRuleNotMatched("deviceFilterIncludeRuleNotMatched"),
    AllDeviceStates("allDeviceStates"),
    AnonymizedIPAddress("anonymizedIPAddress"),
    UnfamiliarFeatures("unfamiliarFeatures"),
    NationStateIPAddress("nationStateIPAddress"),
    RealTimeThreatIntelligence("realTimeThreatIntelligence"),
    InternalGuest("internalGuest"),
    B2bCollaborationGuest("b2bCollaborationGuest"),
    B2bCollaborationMember("b2bCollaborationMember"),
    B2bDirectConnectUser("b2bDirectConnectUser"),
    OtherExternalUser("otherExternalUser"),
    ServiceProvider("serviceProvider"),
    MicrosoftAdminPortals("microsoftAdminPortals"),
    DeviceCodeFlow("deviceCodeFlow"),
    AuthenticationTransfer("authenticationTransfer"),
    InsiderRisk("insiderRisk");
    public final String value;
    ConditionalAccessRule(final String value) {
        this.value = value;
    }
    @jakarta.annotation.Nonnull
    public String getValue() { return this.value; }
    @jakarta.annotation.Nullable
    public static ConditionalAccessRule forValue(@jakarta.annotation.Nonnull final String searchValue) {
        Objects.requireNonNull(searchValue);
        switch(searchValue) {
            case "allApps": return AllApps;
            case "firstPartyApps": return FirstPartyApps;
            case "office365": return Office365;
            case "appId": return AppId;
            case "acr": return Acr;
            case "appFilter": return AppFilter;
            case "allUsers": return AllUsers;
            case "guest": return Guest;
            case "groupId": return GroupId;
            case "roleId": return RoleId;
            case "userId": return UserId;
            case "allDevicePlatforms": return AllDevicePlatforms;
            case "devicePlatform": return DevicePlatform;
            case "allLocations": return AllLocations;
            case "insideCorpnet": return InsideCorpnet;
            case "allTrustedLocations": return AllTrustedLocations;
            case "locationId": return LocationId;
            case "allDevices": return AllDevices;
            case "deviceFilter": return DeviceFilter;
            case "deviceState": return DeviceState;
            case "unknownFutureValue": return UnknownFutureValue;
            case "deviceFilterIncludeRuleNotMatched": return DeviceFilterIncludeRuleNotMatched;
            case "allDeviceStates": return AllDeviceStates;
            case "anonymizedIPAddress": return AnonymizedIPAddress;
            case "unfamiliarFeatures": return UnfamiliarFeatures;
            case "nationStateIPAddress": return NationStateIPAddress;
            case "realTimeThreatIntelligence": return RealTimeThreatIntelligence;
            case "internalGuest": return InternalGuest;
            case "b2bCollaborationGuest": return B2bCollaborationGuest;
            case "b2bCollaborationMember": return B2bCollaborationMember;
            case "b2bDirectConnectUser": return B2bDirectConnectUser;
            case "otherExternalUser": return OtherExternalUser;
            case "serviceProvider": return ServiceProvider;
            case "microsoftAdminPortals": return MicrosoftAdminPortals;
            case "deviceCodeFlow": return DeviceCodeFlow;
            case "authenticationTransfer": return AuthenticationTransfer;
            case "insiderRisk": return InsiderRisk;
            default: return null;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy