Package com.microsoft.graph.models
Class ConditionalAccessPolicy
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.ConditionalAccessPolicy
- All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject
public class ConditionalAccessPolicy
extends Entity
implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Conditional Access Policy.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe Conditions.The Created Date Time.The Description.The Display Name.The Grant Controls.The Modified Date Time.The Session Controls.The State. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
setRawObject
(com.microsoft.graph.serializer.ISerializer serializer, com.google.gson.JsonObject json) Sets the raw JSON objectMethods inherited from class com.microsoft.graph.models.Entity
additionalDataManager
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.microsoft.graph.serializer.IJsonBackedObject
additionalDataManager
-
Field Details
-
conditions
@SerializedName(value="conditions", alternate="Conditions") @Expose @Nullable public ConditionalAccessConditionSet conditionsThe Conditions. Specifies the rules that must be met for the policy to apply. Required. -
createdDateTime
@SerializedName(value="createdDateTime", alternate="CreatedDateTime") @Expose @Nullable public OffsetDateTime createdDateTimeThe Created Date Time. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Readonly. -
description
@SerializedName(value="description", alternate="Description") @Expose @Nullable public String descriptionThe Description. Not used. -
displayName
@SerializedName(value="displayName", alternate="DisplayName") @Expose @Nullable public String displayNameThe Display Name. Specifies a display name for the conditionalAccessPolicy object. -
grantControls
@SerializedName(value="grantControls", alternate="GrantControls") @Expose @Nullable public ConditionalAccessGrantControls grantControlsThe Grant Controls. Specifies the grant controls that must be fulfilled to pass the policy. -
modifiedDateTime
@SerializedName(value="modifiedDateTime", alternate="ModifiedDateTime") @Expose @Nullable public OffsetDateTime modifiedDateTimeThe Modified Date Time. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Readonly. -
sessionControls
@SerializedName(value="sessionControls", alternate="SessionControls") @Expose @Nullable public ConditionalAccessSessionControls sessionControlsThe Session Controls. Specifies the session controls that are enforced after sign-in. -
state
@SerializedName(value="state", alternate="State") @Expose @Nullable public ConditionalAccessPolicyState stateThe State. Specifies the state of the conditionalAccessPolicy object. Possible values are: enabled, disabled, enabledForReportingButNotEnforced. Required.
-
-
Constructor Details
-
ConditionalAccessPolicy
public ConditionalAccessPolicy()
-
-
Method Details
-
setRawObject
public void setRawObject(@Nonnull com.microsoft.graph.serializer.ISerializer serializer, @Nonnull com.google.gson.JsonObject json) Sets the raw JSON object- Specified by:
setRawObject
in interfacecom.microsoft.graph.serializer.IJsonBackedObject
- Overrides:
setRawObject
in classEntity
- Parameters:
serializer
- the serializerjson
- the JSON object to set this object to
-