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 Details

    • conditions

      @SerializedName(value="conditions", alternate="Conditions") @Expose @Nullable public ConditionalAccessConditionSet conditions
      The Conditions. Specifies the rules that must be met for the policy to apply. Required.
    • createdDateTime

      @SerializedName(value="createdDateTime", alternate="CreatedDateTime") @Expose @Nullable public OffsetDateTime createdDateTime
      The 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 description
      The Description. Not used.
    • displayName

      @SerializedName(value="displayName", alternate="DisplayName") @Expose @Nullable public String displayName
      The Display Name. Specifies a display name for the conditionalAccessPolicy object.
    • grantControls

      @SerializedName(value="grantControls", alternate="GrantControls") @Expose @Nullable public ConditionalAccessGrantControls grantControls
      The Grant Controls. Specifies the grant controls that must be fulfilled to pass the policy.
    • modifiedDateTime

      @SerializedName(value="modifiedDateTime", alternate="ModifiedDateTime") @Expose @Nullable public OffsetDateTime modifiedDateTime
      The 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 sessionControls
      The Session Controls. Specifies the session controls that are enforced after sign-in.
    • state

      @SerializedName(value="state", alternate="State") @Expose @Nullable public ConditionalAccessPolicyState state
      The 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 interface com.microsoft.graph.serializer.IJsonBackedObject
      Overrides:
      setRawObject in class Entity
      Parameters:
      serializer - the serializer
      json - the JSON object to set this object to