Class Agreement

java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.Agreement
All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject

public class Agreement extends Entity implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Agreement.
  • Field Details

    • displayName

      @SerializedName(value="displayName", alternate="DisplayName") @Expose @Nullable public String displayName
      The Display Name. Display name of the agreement. The display name is used for internal tracking of the agreement but is not shown to end users who view the agreement. Supports $filter (eq).
    • isPerDeviceAcceptanceRequired

      @SerializedName(value="isPerDeviceAcceptanceRequired", alternate="IsPerDeviceAcceptanceRequired") @Expose @Nullable public Boolean isPerDeviceAcceptanceRequired
      The Is Per Device Acceptance Required. This setting enables you to require end users to accept this agreement on every device that they are accessing it from. The end user will be required to register their device in Azure AD, if they haven't already done so. Supports $filter (eq).
    • isViewingBeforeAcceptanceRequired

      @SerializedName(value="isViewingBeforeAcceptanceRequired", alternate="IsViewingBeforeAcceptanceRequired") @Expose @Nullable public Boolean isViewingBeforeAcceptanceRequired
      The Is Viewing Before Acceptance Required. Indicates whether the user has to expand the agreement before accepting. Supports $filter (eq).
    • termsExpiration

      @SerializedName(value="termsExpiration", alternate="TermsExpiration") @Expose @Nullable public TermsExpiration termsExpiration
      The Terms Expiration. Expiration schedule and frequency of agreement for all users. Supports $filter (eq).
    • userReacceptRequiredFrequency

      @SerializedName(value="userReacceptRequiredFrequency", alternate="UserReacceptRequiredFrequency") @Expose @Nullable public Duration userReacceptRequiredFrequency
      The User Reaccept Required Frequency. The duration after which the user must re-accept the terms of use. The value is represented in ISO 8601 format for durations.
    • acceptances

      @SerializedName(value="acceptances", alternate="Acceptances") @Expose @Nullable public AgreementAcceptanceCollectionPage acceptances
      The Acceptances. Read-only. Information about acceptances of this agreement.
    • file

      @SerializedName(value="file", alternate="File") @Expose @Nullable public AgreementFile file
      The File. Default PDF linked to this agreement.
    • files

      @SerializedName(value="files", alternate="Files") @Expose @Nullable public AgreementFileLocalizationCollectionPage files
      The Files. PDFs linked to this agreement. Note: This property is in the process of being deprecated. Use the file property instead.
  • Constructor Details

    • Agreement

      public Agreement()
  • 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