Package com.microsoft.graph.models
Class Agreement
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.Agreement
- All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject
The class for the Agreement.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe Acceptances.The Display Name.The File.The Files.The Is Per Device Acceptance Required.The Is Viewing Before Acceptance Required.The Terms Expiration.The User Reaccept Required Frequency. -
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
-
displayName
@SerializedName(value="displayName", alternate="DisplayName") @Expose @Nullable public String displayNameThe 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 isPerDeviceAcceptanceRequiredThe 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 isViewingBeforeAcceptanceRequiredThe 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 termsExpirationThe Terms Expiration. Expiration schedule and frequency of agreement for all users. Supports $filter (eq). -
userReacceptRequiredFrequency
@SerializedName(value="userReacceptRequiredFrequency", alternate="UserReacceptRequiredFrequency") @Expose @Nullable public Duration userReacceptRequiredFrequencyThe 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 acceptancesThe Acceptances. Read-only. Information about acceptances of this agreement. -
file
The File. Default PDF linked to this agreement. -
files
@SerializedName(value="files", alternate="Files") @Expose @Nullable public AgreementFileLocalizationCollectionPage filesThe 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 interfacecom.microsoft.graph.serializer.IJsonBackedObject
- Overrides:
setRawObject
in classEntity
- Parameters:
serializer
- the serializerjson
- the JSON object to set this object to
-