Package com.microsoft.graph.models
Class AccessReviewHistoryInstance
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.AccessReviewHistoryInstance
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder
,com.microsoft.kiota.serialization.Parsable
,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class AccessReviewHistoryInstance
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 AccessReviewHistoryInstance
createFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the downloadUri property value.Gets the expirationDateTime property value.The deserialization information for the current modelGets the fulfilledDateTime property value.Gets the reviewHistoryPeriodEndDateTime property value.Gets the reviewHistoryPeriodStartDateTime property value.Gets the runDateTime property value.Gets the status property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
setDownloadUri
(String value) Sets the downloadUri property value.void
Sets the expirationDateTime property value.void
Sets the fulfilledDateTime property value.void
Sets the reviewHistoryPeriodEndDateTime property value.void
Sets the reviewHistoryPeriodStartDateTime property value.void
setRunDateTime
(OffsetDateTime value) Sets the runDateTime property value.void
Sets the status property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
AccessReviewHistoryInstance
public AccessReviewHistoryInstance()Instantiates a newAccessReviewHistoryInstance
and sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static AccessReviewHistoryInstance 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
AccessReviewHistoryInstance
-
getDownloadUri
Gets the downloadUri property value. Uri that can be used to retrieve review history data. This URI will be active for 24 hours after being generated. Required.- Returns:
- a
String
-
getExpirationDateTime
Gets the expirationDateTime property value. Timestamp when this instance and associated data expires and the history is deleted. Required.- 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>>
-
getFulfilledDateTime
Gets the fulfilledDateTime property value. Timestamp when all of the available data for this instance was collected and is set after this instance's status is set to done. Required.- Returns:
- a
OffsetDateTime
-
getReviewHistoryPeriodEndDateTime
Gets the reviewHistoryPeriodEndDateTime property value. Timestamp reviews ending on or before this date will be included in the fetched history data.- Returns:
- a
OffsetDateTime
-
getReviewHistoryPeriodStartDateTime
Gets the reviewHistoryPeriodStartDateTime property value. Timestamp reviews starting on or after this date will be included in the fetched history data.- Returns:
- a
OffsetDateTime
-
getRunDateTime
Gets the runDateTime property value. Timestamp when the instance's history data is scheduled to be generated.- Returns:
- a
OffsetDateTime
-
getStatus
Gets the status property value. Represents the status of the review history data collection. The possible values are: done, inProgress, error, requested, unknownFutureValue. Once the status has been marked as done, a link can be generated to retrieve the instance's data by calling generateDownloadUri method.- Returns:
- a
AccessReviewHistoryStatus
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setDownloadUri
Sets the downloadUri property value. Uri that can be used to retrieve review history data. This URI will be active for 24 hours after being generated. Required.- Parameters:
value
- Value to set for the downloadUri property.
-
setExpirationDateTime
Sets the expirationDateTime property value. Timestamp when this instance and associated data expires and the history is deleted. Required.- Parameters:
value
- Value to set for the expirationDateTime property.
-
setFulfilledDateTime
Sets the fulfilledDateTime property value. Timestamp when all of the available data for this instance was collected and is set after this instance's status is set to done. Required.- Parameters:
value
- Value to set for the fulfilledDateTime property.
-
setReviewHistoryPeriodEndDateTime
Sets the reviewHistoryPeriodEndDateTime property value. Timestamp reviews ending on or before this date will be included in the fetched history data.- Parameters:
value
- Value to set for the reviewHistoryPeriodEndDateTime property.
-
setReviewHistoryPeriodStartDateTime
Sets the reviewHistoryPeriodStartDateTime property value. Timestamp reviews starting on or after this date will be included in the fetched history data.- Parameters:
value
- Value to set for the reviewHistoryPeriodStartDateTime property.
-
setRunDateTime
Sets the runDateTime property value. Timestamp when the instance's history data is scheduled to be generated.- Parameters:
value
- Value to set for the runDateTime property.
-
setStatus
Sets the status property value. Represents the status of the review history data collection. The possible values are: done, inProgress, error, requested, unknownFutureValue. Once the status has been marked as done, a link can be generated to retrieve the instance's data by calling generateDownloadUri method.- Parameters:
value
- Value to set for the status property.
-