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
  • Constructor Details

    • AccessReviewHistoryInstance

      public AccessReviewHistoryInstance()
      Instantiates a new AccessReviewHistoryInstance 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

      @Nullable public String 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

      @Nullable public OffsetDateTime 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 interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      getFieldDeserializers in class Entity
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getFulfilledDateTime

      @Nullable public OffsetDateTime 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

      @Nullable public 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

      @Nullable public 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

      @Nullable public OffsetDateTime getRunDateTime()
      Gets the runDateTime property value. Timestamp when the instance's history data is scheduled to be generated.
      Returns:
      a OffsetDateTime
    • getStatus

      @Nullable public AccessReviewHistoryStatus 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
      Specified by:
      serialize in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      serialize in class Entity
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setDownloadUri

      public void setDownloadUri(@Nullable String value)
      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

      public void setExpirationDateTime(@Nullable OffsetDateTime value)
      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

      public void setFulfilledDateTime(@Nullable OffsetDateTime value)
      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

      public void setReviewHistoryPeriodEndDateTime(@Nullable OffsetDateTime value)
      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

      public void setReviewHistoryPeriodStartDateTime(@Nullable OffsetDateTime value)
      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

      public void setRunDateTime(@Nullable OffsetDateTime value)
      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

      public void setStatus(@Nullable AccessReviewHistoryStatus value)
      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.