Class EdiscoverySearch

All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable, com.microsoft.kiota.store.BackedModel

@Generated("com.microsoft.kiota") public class EdiscoverySearch extends Search implements com.microsoft.kiota.serialization.Parsable
  • Constructor Details

    • EdiscoverySearch

      public EdiscoverySearch()
      Instantiates a new EdiscoverySearch and sets the default values.
  • Method Details

    • createFromDiscriminatorValue

      @Nonnull public static EdiscoverySearch createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode)
      Creates a new instance of the appropriate class based on discriminator value
      Parameters:
      parseNode - The parse node to use to read the discriminator value and create the object
      Returns:
      a EdiscoverySearch
    • getAdditionalSources

      @Nullable public List<DataSource> getAdditionalSources()
      Gets the additionalSources property value. Adds an additional source to the eDiscovery search.
      Returns:
      a List<DataSource>
    • getAddToReviewSetOperation

      @Nullable public EdiscoveryAddToReviewSetOperation getAddToReviewSetOperation()
      Gets the addToReviewSetOperation property value. Adds the results of the eDiscovery search to the specified reviewSet.
      Returns:
      a EdiscoveryAddToReviewSetOperation
    • getCustodianSources

      @Nullable public List<DataSource> getCustodianSources()
      Gets the custodianSources property value. Custodian sources that are included in the eDiscovery search.
      Returns:
      a List<DataSource>
    • getDataSourceScopes

      @Nullable public EnumSet<DataSourceScopes> getDataSourceScopes()
      Gets the dataSourceScopes property value. When specified, the collection spans across a service for an entire workload. Possible values are: none, allTenantMailboxes, allTenantSites, allCaseCustodians, allCaseNoncustodialDataSources.
      Returns:
      a EnumSet<DataSourceScopes>
    • getFieldDeserializers

      @Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()
      The deserialization information for the current model
      Specified by:
      getFieldDeserializers in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      getFieldDeserializers in class Search
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getLastEstimateStatisticsOperation

      @Nullable public EdiscoveryEstimateOperation getLastEstimateStatisticsOperation()
      Gets the lastEstimateStatisticsOperation property value. The last estimate operation associated with the eDiscovery search.
      Returns:
      a EdiscoveryEstimateOperation
    • getNoncustodialSources

      @Nullable public List<EdiscoveryNoncustodialDataSource> getNoncustodialSources()
      Gets the noncustodialSources property value. noncustodialDataSource sources that are included in the eDiscovery search
      Returns:
      a List<EdiscoveryNoncustodialDataSource>
    • serialize

      public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer)
      Serializes information the current object
      Specified by:
      serialize in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      serialize in class Search
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setAdditionalSources

      public void setAdditionalSources(@Nullable List<DataSource> value)
      Sets the additionalSources property value. Adds an additional source to the eDiscovery search.
      Parameters:
      value - Value to set for the additionalSources property.
    • setAddToReviewSetOperation

      public void setAddToReviewSetOperation(@Nullable EdiscoveryAddToReviewSetOperation value)
      Sets the addToReviewSetOperation property value. Adds the results of the eDiscovery search to the specified reviewSet.
      Parameters:
      value - Value to set for the addToReviewSetOperation property.
    • setCustodianSources

      public void setCustodianSources(@Nullable List<DataSource> value)
      Sets the custodianSources property value. Custodian sources that are included in the eDiscovery search.
      Parameters:
      value - Value to set for the custodianSources property.
    • setDataSourceScopes

      public void setDataSourceScopes(@Nullable EnumSet<DataSourceScopes> value)
      Sets the dataSourceScopes property value. When specified, the collection spans across a service for an entire workload. Possible values are: none, allTenantMailboxes, allTenantSites, allCaseCustodians, allCaseNoncustodialDataSources.
      Parameters:
      value - Value to set for the dataSourceScopes property.
    • setLastEstimateStatisticsOperation

      public void setLastEstimateStatisticsOperation(@Nullable EdiscoveryEstimateOperation value)
      Sets the lastEstimateStatisticsOperation property value. The last estimate operation associated with the eDiscovery search.
      Parameters:
      value - Value to set for the lastEstimateStatisticsOperation property.
    • setNoncustodialSources

      public void setNoncustodialSources(@Nullable List<EdiscoveryNoncustodialDataSource> value)
      Sets the noncustodialSources property value. noncustodialDataSource sources that are included in the eDiscovery search
      Parameters:
      value - Value to set for the noncustodialSources property.