Class ConditionalAccessConditionSet

java.lang.Object
com.microsoft.graph.models.ConditionalAccessConditionSet
All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable, com.microsoft.kiota.store.BackedModel

@Generated("com.microsoft.kiota") public class ConditionalAccessConditionSet extends Object implements com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.store.BackedModel, com.microsoft.kiota.serialization.Parsable
  • Field Details

    • backingStore

      @Nonnull protected com.microsoft.kiota.store.BackingStore backingStore
      Stores model information.
  • Constructor Details

    • ConditionalAccessConditionSet

      public ConditionalAccessConditionSet()
      Instantiates a new ConditionalAccessConditionSet and sets the default values.
  • Method Details

    • createFromDiscriminatorValue

      @Nonnull public static ConditionalAccessConditionSet createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode)
      Creates a new instance of the appropriate class based on discriminator value
      Parameters:
      parseNode - The parse node to use to read the discriminator value and create the object
      Returns:
      a ConditionalAccessConditionSet
    • getAdditionalData

      @Nonnull public Map<String,Object> getAdditionalData()
      Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
      Specified by:
      getAdditionalData in interface com.microsoft.kiota.serialization.AdditionalDataHolder
      Returns:
      a Map<String,Object>
    • getApplications

      @Nullable public ConditionalAccessApplications getApplications()
      Gets the applications property value. Applications and user actions included in and excluded from the policy. Required.
      Returns:
      a ConditionalAccessApplications
    • getAuthenticationFlows

      @Nullable public ConditionalAccessAuthenticationFlows getAuthenticationFlows()
      Gets the authenticationFlows property value. Authentication flows included in the policy scope.
      Returns:
      a ConditionalAccessAuthenticationFlows
    • getBackingStore

      @Nonnull public com.microsoft.kiota.store.BackingStore getBackingStore()
      Gets the backingStore property value. Stores model information.
      Specified by:
      getBackingStore in interface com.microsoft.kiota.store.BackedModel
      Returns:
      a BackingStore
    • getClientApplications

      @Nullable public ConditionalAccessClientApplications getClientApplications()
      Gets the clientApplications property value. Client applications (service principals and workload identities) included in and excluded from the policy. Either users or clientApplications is required.
      Returns:
      a ConditionalAccessClientApplications
    • getClientAppTypes

      @Nullable public List<ConditionalAccessClientApp> getClientAppTypes()
      Gets the clientAppTypes property value. Client application types included in the policy. Possible values are: all, browser, mobileAppsAndDesktopClients, exchangeActiveSync, easSupported, other. Required. The easUnsupported enumeration member will be deprecated in favor of exchangeActiveSync, which includes EAS supported and unsupported platforms.
      Returns:
      a List<ConditionalAccessClientApp>
    • getDevices

      @Nullable public ConditionalAccessDevices getDevices()
      Gets the devices property value. Devices in the policy.
      Returns:
      a ConditionalAccessDevices
    • getFieldDeserializers

      @Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()
      The deserialization information for the current model
      Specified by:
      getFieldDeserializers in interface com.microsoft.kiota.serialization.Parsable
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getInsiderRiskLevels

      @Nullable public EnumSet<ConditionalAccessInsiderRiskLevels> getInsiderRiskLevels()
      Gets the insiderRiskLevels property value. Insider risk levels included in the policy. The possible values are: minor, moderate, elevated, unknownFutureValue.
      Returns:
      a EnumSet<ConditionalAccessInsiderRiskLevels>
    • getLocations

      @Nullable public ConditionalAccessLocations getLocations()
      Gets the locations property value. Locations included in and excluded from the policy.
      Returns:
      a ConditionalAccessLocations
    • getOdataType

      @Nullable public String getOdataType()
      Gets the @odata.type property value. The OdataType property
      Returns:
      a String
    • getPlatforms

      @Nullable public ConditionalAccessPlatforms getPlatforms()
      Gets the platforms property value. Platforms included in and excluded from the policy.
      Returns:
      a ConditionalAccessPlatforms
    • getServicePrincipalRiskLevels

      @Nullable public List<RiskLevel> getServicePrincipalRiskLevels()
      Gets the servicePrincipalRiskLevels property value. Service principal risk levels included in the policy. Possible values are: low, medium, high, none, unknownFutureValue.
      Returns:
      a List<RiskLevel>
    • getSignInRiskLevels

      @Nullable public List<RiskLevel> getSignInRiskLevels()
      Gets the signInRiskLevels property value. Sign-in risk levels included in the policy. Possible values are: low, medium, high, hidden, none, unknownFutureValue. Required.
      Returns:
      a List<RiskLevel>
    • getUserRiskLevels

      @Nullable public List<RiskLevel> getUserRiskLevels()
      Gets the userRiskLevels property value. User risk levels included in the policy. Possible values are: low, medium, high, hidden, none, unknownFutureValue. Required.
      Returns:
      a List<RiskLevel>
    • getUsers

      @Nullable public ConditionalAccessUsers getUsers()
      Gets the users property value. Users, groups, and roles included in and excluded from the policy. Either users or clientApplications is required.
      Returns:
      a ConditionalAccessUsers
    • serialize

      public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer)
      Serializes information the current object
      Specified by:
      serialize in interface com.microsoft.kiota.serialization.Parsable
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setAdditionalData

      public void setAdditionalData(@Nullable Map<String,Object> value)
      Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
      Parameters:
      value - Value to set for the AdditionalData property.
    • setApplications

      public void setApplications(@Nullable ConditionalAccessApplications value)
      Sets the applications property value. Applications and user actions included in and excluded from the policy. Required.
      Parameters:
      value - Value to set for the applications property.
    • setAuthenticationFlows

      public void setAuthenticationFlows(@Nullable ConditionalAccessAuthenticationFlows value)
      Sets the authenticationFlows property value. Authentication flows included in the policy scope.
      Parameters:
      value - Value to set for the authenticationFlows property.
    • setBackingStore

      public void setBackingStore(@Nonnull com.microsoft.kiota.store.BackingStore value)
      Sets the backingStore property value. Stores model information.
      Parameters:
      value - Value to set for the backingStore property.
    • setClientApplications

      public void setClientApplications(@Nullable ConditionalAccessClientApplications value)
      Sets the clientApplications property value. Client applications (service principals and workload identities) included in and excluded from the policy. Either users or clientApplications is required.
      Parameters:
      value - Value to set for the clientApplications property.
    • setClientAppTypes

      public void setClientAppTypes(@Nullable List<ConditionalAccessClientApp> value)
      Sets the clientAppTypes property value. Client application types included in the policy. Possible values are: all, browser, mobileAppsAndDesktopClients, exchangeActiveSync, easSupported, other. Required. The easUnsupported enumeration member will be deprecated in favor of exchangeActiveSync, which includes EAS supported and unsupported platforms.
      Parameters:
      value - Value to set for the clientAppTypes property.
    • setDevices

      public void setDevices(@Nullable ConditionalAccessDevices value)
      Sets the devices property value. Devices in the policy.
      Parameters:
      value - Value to set for the devices property.
    • setInsiderRiskLevels

      public void setInsiderRiskLevels(@Nullable EnumSet<ConditionalAccessInsiderRiskLevels> value)
      Sets the insiderRiskLevels property value. Insider risk levels included in the policy. The possible values are: minor, moderate, elevated, unknownFutureValue.
      Parameters:
      value - Value to set for the insiderRiskLevels property.
    • setLocations

      public void setLocations(@Nullable ConditionalAccessLocations value)
      Sets the locations property value. Locations included in and excluded from the policy.
      Parameters:
      value - Value to set for the locations property.
    • setOdataType

      public void setOdataType(@Nullable String value)
      Sets the @odata.type property value. The OdataType property
      Parameters:
      value - Value to set for the @odata.type property.
    • setPlatforms

      public void setPlatforms(@Nullable ConditionalAccessPlatforms value)
      Sets the platforms property value. Platforms included in and excluded from the policy.
      Parameters:
      value - Value to set for the platforms property.
    • setServicePrincipalRiskLevels

      public void setServicePrincipalRiskLevels(@Nullable List<RiskLevel> value)
      Sets the servicePrincipalRiskLevels property value. Service principal risk levels included in the policy. Possible values are: low, medium, high, none, unknownFutureValue.
      Parameters:
      value - Value to set for the servicePrincipalRiskLevels property.
    • setSignInRiskLevels

      public void setSignInRiskLevels(@Nullable List<RiskLevel> value)
      Sets the signInRiskLevels property value. Sign-in risk levels included in the policy. Possible values are: low, medium, high, hidden, none, unknownFutureValue. Required.
      Parameters:
      value - Value to set for the signInRiskLevels property.
    • setUserRiskLevels

      public void setUserRiskLevels(@Nullable List<RiskLevel> value)
      Sets the userRiskLevels property value. User risk levels included in the policy. Possible values are: low, medium, high, hidden, none, unknownFutureValue. Required.
      Parameters:
      value - Value to set for the userRiskLevels property.
    • setUsers

      public void setUsers(@Nullable ConditionalAccessUsers value)
      Sets the users property value. Users, groups, and roles included in and excluded from the policy. Either users or clientApplications is required.
      Parameters:
      value - Value to set for the users property.