Class EdiscoveryCustodian
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.security.DataSourceContainer
com.microsoft.graph.models.security.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
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic EdiscoveryCustodiancreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the acknowledgedDateTime property value.getEmail()Gets the email property value.The deserialization information for the current modelGets the lastIndexOperation property value.Gets the siteSources property value.Gets the unifiedGroupSources property value.Gets the userSources property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidSets the acknowledgedDateTime property value.voidSets the email property value.voidSets the lastIndexOperation property value.voidsetSiteSources(List<SiteSource> value) Sets the siteSources property value.voidSets the unifiedGroupSources property value.voidsetUserSources(List<UserSource> value) Sets the userSources property value.Methods inherited from class com.microsoft.graph.models.security.DataSourceContainer
getCreatedDateTime, getDisplayName, getHoldStatus, getLastModifiedDateTime, getReleasedDateTime, getStatus, setCreatedDateTime, setDisplayName, setHoldStatus, setLastModifiedDateTime, setReleasedDateTime, setStatusMethods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
EdiscoveryCustodian
public EdiscoveryCustodian()Instantiates a newEdiscoveryCustodianand 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
Gets the acknowledgedDateTime property value. Date and time the custodian acknowledged a hold notification.- Returns:
- a
OffsetDateTime
-
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:
getFieldDeserializersin interfacecom.microsoft.kiota.serialization.Parsable- Overrides:
getFieldDeserializersin classDataSourceContainer- Returns:
- a
Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getLastIndexOperation
Gets the lastIndexOperation property value. Operation entity that represents the latest indexing for the custodian.- Returns:
- a
EdiscoveryIndexOperation
-
getSiteSources
Gets the siteSources property value. Data source entity for SharePoint sites associated with the custodian.- Returns:
- a
List<SiteSource>
-
getUnifiedGroupSources
Gets the unifiedGroupSources property value. Data source entity for groups associated with the custodian.- Returns:
- a
List<UnifiedGroupSource>
-
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:
serializein interfacecom.microsoft.kiota.serialization.Parsable- Overrides:
serializein classDataSourceContainer- Parameters:
writer- Serialization writer to use to serialize this model
-
setAcknowledgedDateTime
Sets the acknowledgedDateTime property value. Date and time the custodian acknowledged a hold notification.- Parameters:
value- Value to set for the acknowledgedDateTime property.
-
setEmail
Sets the email property value. Email address of the custodian.- Parameters:
value- Value to set for the email property.
-
setLastIndexOperation
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
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
Sets the unifiedGroupSources property value. Data source entity for groups associated with the custodian.- Parameters:
value- Value to set for the unifiedGroupSources property.
-
setUserSources
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.
-