Class EdiscoveryCustodian

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

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

    • EdiscoveryCustodian

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

    • createFromDiscriminatorValue

      @Nonnull public static EdiscoveryCustodian 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 EdiscoveryCustodian
    • getAcknowledgedDateTime

      @Nullable public OffsetDateTime getAcknowledgedDateTime()
      Gets the acknowledgedDateTime property value. Date and time the custodian acknowledged a hold notification.
      Returns:
      a OffsetDateTime
    • getEmail

      @Nullable public String getEmail()
      Gets the email property value. Email address of the custodian.
      Returns:
      a String
    • 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 DataSourceContainer
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getLastIndexOperation

      @Nullable public EdiscoveryIndexOperation getLastIndexOperation()
      Gets the lastIndexOperation property value. Operation entity that represents the latest indexing for the custodian.
      Returns:
      a EdiscoveryIndexOperation
    • getSiteSources

      @Nullable public List<SiteSource> getSiteSources()
      Gets the siteSources property value. Data source entity for SharePoint sites associated with the custodian.
      Returns:
      a List<SiteSource>
    • getUnifiedGroupSources

      @Nullable public List<UnifiedGroupSource> getUnifiedGroupSources()
      Gets the unifiedGroupSources property value. Data source entity for groups associated with the custodian.
      Returns:
      a List<UnifiedGroupSource>
    • getUserSources

      @Nullable public List<UserSource> getUserSources()
      Gets the userSources property value. Data source entity for a the custodian. This is the container for a custodian's mailbox and OneDrive for Business site.
      Returns:
      a List<UserSource>
    • 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 DataSourceContainer
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setAcknowledgedDateTime

      public void setAcknowledgedDateTime(@Nullable OffsetDateTime value)
      Sets the acknowledgedDateTime property value. Date and time the custodian acknowledged a hold notification.
      Parameters:
      value - Value to set for the acknowledgedDateTime property.
    • setEmail

      public void setEmail(@Nullable String value)
      Sets the email property value. Email address of the custodian.
      Parameters:
      value - Value to set for the email property.
    • setLastIndexOperation

      public void setLastIndexOperation(@Nullable EdiscoveryIndexOperation value)
      Sets the lastIndexOperation property value. Operation entity that represents the latest indexing for the custodian.
      Parameters:
      value - Value to set for the lastIndexOperation property.
    • setSiteSources

      public void setSiteSources(@Nullable List<SiteSource> value)
      Sets the siteSources property value. Data source entity for SharePoint sites associated with the custodian.
      Parameters:
      value - Value to set for the siteSources property.
    • setUnifiedGroupSources

      public void setUnifiedGroupSources(@Nullable List<UnifiedGroupSource> value)
      Sets the unifiedGroupSources property value. Data source entity for groups associated with the custodian.
      Parameters:
      value - Value to set for the unifiedGroupSources property.
    • setUserSources

      public void setUserSources(@Nullable List<UserSource> value)
      Sets the userSources property value. Data source entity for a the custodian. This is the container for a custodian's mailbox and OneDrive for Business site.
      Parameters:
      value - Value to set for the userSources property.