Package com.microsoft.graph.models
Class OnPremisesConditionalAccessSettings
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.OnPremisesConditionalAccessSettings
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder
,com.microsoft.kiota.serialization.Parsable
,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class OnPremisesConditionalAccessSettings
extends Entity
implements com.microsoft.kiota.serialization.Parsable
Singleton entity which represents the Exchange OnPremises Conditional Access Settings for a tenant.
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a newOnPremisesConditionalAccessSettings
and sets the default values. -
Method Summary
Modifier and TypeMethodDescriptioncreateFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the enabled property value.Gets the excludedGroups property value.The deserialization information for the current modelGets the includedGroups property value.Gets the overrideDefaultRule property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
setEnabled
(Boolean value) Sets the enabled property value.void
setExcludedGroups
(List<UUID> value) Sets the excludedGroups property value.void
setIncludedGroups
(List<UUID> value) Sets the includedGroups property value.void
setOverrideDefaultRule
(Boolean value) Sets the overrideDefaultRule property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
OnPremisesConditionalAccessSettings
public OnPremisesConditionalAccessSettings()Instantiates a newOnPremisesConditionalAccessSettings
and sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static OnPremisesConditionalAccessSettings 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
OnPremisesConditionalAccessSettings
-
getEnabled
Gets the enabled property value. Indicates if on premises conditional access is enabled for this organization- Returns:
- a
Boolean
-
getExcludedGroups
Gets the excludedGroups property value. User groups that will be exempt by on premises conditional access. All users in these groups will be exempt from the conditional access policy. -
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model- Specified by:
getFieldDeserializers
in interfacecom.microsoft.kiota.serialization.Parsable
- Overrides:
getFieldDeserializers
in classEntity
- Returns:
- a
Map<String,
Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getIncludedGroups
Gets the includedGroups property value. User groups that will be targeted by on premises conditional access. All users in these groups will be required to have mobile device managed and compliant for mail access. -
getOverrideDefaultRule
Gets the overrideDefaultRule property value. Override the default access rule when allowing a device to ensure access is granted.- Returns:
- a
Boolean
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setEnabled
Sets the enabled property value. Indicates if on premises conditional access is enabled for this organization- Parameters:
value
- Value to set for the enabled property.
-
setExcludedGroups
Sets the excludedGroups property value. User groups that will be exempt by on premises conditional access. All users in these groups will be exempt from the conditional access policy.- Parameters:
value
- Value to set for the excludedGroups property.
-
setIncludedGroups
Sets the includedGroups property value. User groups that will be targeted by on premises conditional access. All users in these groups will be required to have mobile device managed and compliant for mail access.- Parameters:
value
- Value to set for the includedGroups property.
-
setOverrideDefaultRule
Sets the overrideDefaultRule property value. Override the default access rule when allowing a device to ensure access is granted.- Parameters:
value
- Value to set for the overrideDefaultRule property.
-