Class RetentionEvent
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.security.RetentionEvent
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder
,com.microsoft.kiota.serialization.Parsable
,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class RetentionEvent
extends Entity
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 RetentionEvent
createFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the createdBy property value.Gets the createdDateTime property value.Gets the description property value.Gets the displayName property value.Gets the eventPropagationResults property value.Gets the eventQueries property value.Gets the eventStatus property value.Gets the eventTriggerDateTime property value.The deserialization information for the current modelGets the lastModifiedBy property value.Gets the lastModifiedDateTime property value.Gets the lastStatusUpdateDateTime property value.Gets the retentionEventType property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
setCreatedBy
(IdentitySet value) Sets the createdBy property value.void
setCreatedDateTime
(OffsetDateTime value) Sets the createdDateTime property value.void
setDescription
(String value) Sets the description property value.void
setDisplayName
(String value) Sets the displayName property value.void
Sets the eventPropagationResults property value.void
setEventQueries
(List<EventQuery> value) Sets the eventQueries property value.void
Sets the eventStatus property value.void
Sets the eventTriggerDateTime property value.void
setLastModifiedBy
(IdentitySet value) Sets the lastModifiedBy property value.void
Sets the lastModifiedDateTime property value.void
Sets the lastStatusUpdateDateTime property value.void
Sets the retentionEventType property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
RetentionEvent
public RetentionEvent()Instantiates a newRetentionEvent
and sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static RetentionEvent 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
RetentionEvent
-
getCreatedBy
Gets the createdBy property value. The user who created the retentionEvent.- Returns:
- a
IdentitySet
-
getCreatedDateTime
Gets the createdDateTime property value. The date time when the retentionEvent was created.- Returns:
- a
OffsetDateTime
-
getDescription
Gets the description property value. Optional information about the event.- Returns:
- a
String
-
getDisplayName
Gets the displayName property value. Name of the event.- Returns:
- a
String
-
getEventPropagationResults
Gets the eventPropagationResults property value. Represents the success status of a created event and additional information.- Returns:
- a
List<EventPropagationResult>
-
getEventQueries
Gets the eventQueries property value. Represents the workload (SharePoint Online, OneDrive for Business, Exchange Online) and identification information associated with a retention event.- Returns:
- a
List<EventQuery>
-
getEventStatus
Gets the eventStatus property value. Status of event propogation to the scoped locations after the event has been created.- Returns:
- a
RetentionEventStatus
-
getEventTriggerDateTime
Gets the eventTriggerDateTime property value. Optional time when the event should be triggered.- Returns:
- a
OffsetDateTime
-
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model- Specified by:
getFieldDeserializers
in interfacecom.microsoft.kiota.serialization.Parsable
- Overrides:
getFieldDeserializers
in classEntity
- Returns:
- a
Map<String,
Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getLastModifiedBy
Gets the lastModifiedBy property value. The user who last modified the retentionEvent.- Returns:
- a
IdentitySet
-
getLastModifiedDateTime
Gets the lastModifiedDateTime property value. The latest date time when the retentionEvent was modified.- Returns:
- a
OffsetDateTime
-
getLastStatusUpdateDateTime
Gets the lastStatusUpdateDateTime property value. Last time the status of the event was updated.- Returns:
- a
OffsetDateTime
-
getRetentionEventType
Gets the retentionEventType property value. Specifies the event that will start the retention period for labels that use this event type when an event is created.- Returns:
- a
RetentionEventType
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setCreatedBy
Sets the createdBy property value. The user who created the retentionEvent.- Parameters:
value
- Value to set for the createdBy property.
-
setCreatedDateTime
Sets the createdDateTime property value. The date time when the retentionEvent was created.- Parameters:
value
- Value to set for the createdDateTime property.
-
setDescription
Sets the description property value. Optional information about the event.- Parameters:
value
- Value to set for the description property.
-
setDisplayName
Sets the displayName property value. Name of the event.- Parameters:
value
- Value to set for the displayName property.
-
setEventPropagationResults
Sets the eventPropagationResults property value. Represents the success status of a created event and additional information.- Parameters:
value
- Value to set for the eventPropagationResults property.
-
setEventQueries
Sets the eventQueries property value. Represents the workload (SharePoint Online, OneDrive for Business, Exchange Online) and identification information associated with a retention event.- Parameters:
value
- Value to set for the eventQueries property.
-
setEventStatus
Sets the eventStatus property value. Status of event propogation to the scoped locations after the event has been created.- Parameters:
value
- Value to set for the eventStatus property.
-
setEventTriggerDateTime
Sets the eventTriggerDateTime property value. Optional time when the event should be triggered.- Parameters:
value
- Value to set for the eventTriggerDateTime property.
-
setLastModifiedBy
Sets the lastModifiedBy property value. The user who last modified the retentionEvent.- Parameters:
value
- Value to set for the lastModifiedBy property.
-
setLastModifiedDateTime
Sets the lastModifiedDateTime property value. The latest date time when the retentionEvent was modified.- Parameters:
value
- Value to set for the lastModifiedDateTime property.
-
setLastStatusUpdateDateTime
Sets the lastStatusUpdateDateTime property value. Last time the status of the event was updated.- Parameters:
value
- Value to set for the lastStatusUpdateDateTime property.
-
setRetentionEventType
Sets the retentionEventType property value. Specifies the event that will start the retention period for labels that use this event type when an event is created.- Parameters:
value
- Value to set for the retentionEventType property.
-