Class LegalHold
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.ediscovery.models.LegalHold
- All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject
The class for the Legal Hold.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe Content Query.The Created By.The Created Date Time.The Description.The Display Name.The Errors.The Is Enabled.The Last Modified By.The Last Modified Date Time.The Site Sources.The Status.The User Sources. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetRawObject(com.microsoft.graph.serializer.ISerializer serializer, com.google.gson.JsonObject json) Sets the raw JSON objectMethods inherited from class com.microsoft.graph.models.Entity
additionalDataManagerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.microsoft.graph.serializer.IJsonBackedObject
additionalDataManager
-
Field Details
-
contentQuery
@SerializedName(value="contentQuery", alternate="ContentQuery") @Expose @Nullable public String contentQueryThe Content Query. KQL query that specifies content to be held in the specified locations. To learn more, see Keyword queries and search conditions for Content Search and eDiscovery. To hold all content in the specified locations, leave contentQuery blank. -
createdBy
@SerializedName(value="createdBy", alternate="CreatedBy") @Expose @Nullable public IdentitySet createdByThe Created By. The user who created the legal hold. -
createdDateTime
@SerializedName(value="createdDateTime", alternate="CreatedDateTime") @Expose @Nullable public OffsetDateTime createdDateTimeThe Created Date Time. The date and time the legal hold was created. -
description
@SerializedName(value="description", alternate="Description") @Expose @Nullable public String descriptionThe Description. The legal hold description. -
displayName
@SerializedName(value="displayName", alternate="DisplayName") @Expose @Nullable public String displayNameThe Display Name. The display name of the legal hold. -
errors
The Errors. Lists any errors that happened while placing the hold. -
isEnabled
@SerializedName(value="isEnabled", alternate="IsEnabled") @Expose @Nullable public Boolean isEnabledThe Is Enabled. Indicates whether the hold is enabled and actively holding content. -
lastModifiedBy
@SerializedName(value="lastModifiedBy", alternate="LastModifiedBy") @Expose @Nullable public IdentitySet lastModifiedByThe Last Modified By. the user who last modified the legal hold. -
lastModifiedDateTime
@SerializedName(value="lastModifiedDateTime", alternate="LastModifiedDateTime") @Expose @Nullable public OffsetDateTime lastModifiedDateTimeThe Last Modified Date Time. The date and time the legal hold was last modified. -
status
The Status. The status of the legal hold. Possible values are: Pending, Error, Success, UnknownFutureValue. -
siteSources
@SerializedName(value="siteSources", alternate="SiteSources") @Expose @Nullable public SiteSourceCollectionPage siteSourcesThe Site Sources. Data source entity for SharePoint sites associated with the legal hold. -
userSources
@SerializedName(value="userSources", alternate="UserSources") @Expose @Nullable public UserSourceCollectionPage userSourcesThe User Sources. Data source entity for a the legal hold. This is the container for a mailbox and OneDrive for Business site.
-
-
Constructor Details
-
LegalHold
public LegalHold()
-
-
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:
setRawObjectin interfacecom.microsoft.graph.serializer.IJsonBackedObject- Overrides:
setRawObjectin classEntity- Parameters:
serializer- the serializerjson- the JSON object to set this object to
-