Package com.microsoft.graph.models
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 Summary
FieldsModifier and TypeFieldDescriptionprotected com.microsoft.kiota.store.BackingStoreStores model information. -
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a newConditionalAccessConditionSetand 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 AdditionalData property value.Gets the applications property value.Gets the authenticationFlows property value.com.microsoft.kiota.store.BackingStoreGets the backingStore property value.Gets the clientApplications property value.Gets the clientAppTypes property value.Gets the devices property value.The deserialization information for the current modelGets the insiderRiskLevels property value.Gets the locations property value.Gets the @odata.type property value.Gets the platforms property value.Gets the servicePrincipalRiskLevels property value.Gets the signInRiskLevels property value.Gets the userRiskLevels property value.getUsers()Gets the users property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidsetAdditionalData(Map<String, Object> value) Sets the AdditionalData property value.voidSets the applications property value.voidSets the authenticationFlows property value.voidsetBackingStore(com.microsoft.kiota.store.BackingStore value) Sets the backingStore property value.voidSets the clientApplications property value.voidSets the clientAppTypes property value.voidSets the devices property value.voidSets the insiderRiskLevels property value.voidSets the locations property value.voidsetOdataType(String value) Sets the @odata.type property value.voidSets the platforms property value.voidSets the servicePrincipalRiskLevels property value.voidsetSignInRiskLevels(List<RiskLevel> value) Sets the signInRiskLevels property value.voidsetUserRiskLevels(List<RiskLevel> value) Sets the userRiskLevels property value.voidsetUsers(ConditionalAccessUsers value) Sets the users property value.
-
Field Details
-
backingStore
@Nonnull protected com.microsoft.kiota.store.BackingStore backingStoreStores model information.
-
-
Constructor Details
-
ConditionalAccessConditionSet
public ConditionalAccessConditionSet()Instantiates a newConditionalAccessConditionSetand 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
Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. -
getApplications
Gets the applications property value. Applications and user actions included in and excluded from the policy. Required.- Returns:
- a
ConditionalAccessApplications
-
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:
getBackingStorein interfacecom.microsoft.kiota.store.BackedModel- Returns:
- a
BackingStore
-
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
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
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 -
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
Gets the locations property value. Locations included in and excluded from the policy.- Returns:
- a
ConditionalAccessLocations
-
getOdataType
Gets the @odata.type property value. The OdataType property- Returns:
- a
String
-
getPlatforms
Gets the platforms property value. Platforms included in and excluded from the policy.- Returns:
- a
ConditionalAccessPlatforms
-
getServicePrincipalRiskLevels
Gets the servicePrincipalRiskLevels property value. Service principal risk levels included in the policy. Possible values are: low, medium, high, none, unknownFutureValue. -
getSignInRiskLevels
Gets the signInRiskLevels property value. Sign-in risk levels included in the policy. Possible values are: low, medium, high, hidden, none, unknownFutureValue. Required. -
getUserRiskLevels
Gets the userRiskLevels property value. User risk levels included in the policy. Possible values are: low, medium, high, hidden, none, unknownFutureValue. Required. -
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:
serializein interfacecom.microsoft.kiota.serialization.Parsable- Parameters:
writer- Serialization writer to use to serialize this model
-
setAdditionalData
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
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
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
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
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
Sets the devices property value. Devices in the policy.- Parameters:
value- Value to set for the devices property.
-
setInsiderRiskLevels
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
Sets the locations property value. Locations included in and excluded from the policy.- Parameters:
value- Value to set for the locations property.
-
setOdataType
Sets the @odata.type property value. The OdataType property- Parameters:
value- Value to set for the @odata.type property.
-
setPlatforms
Sets the platforms property value. Platforms included in and excluded from the policy.- Parameters:
value- Value to set for the platforms property.
-
setServicePrincipalRiskLevels
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
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
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
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.
-