Class AccessReviewStage

java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.AccessReviewStage
All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable, com.microsoft.kiota.store.BackedModel

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

    • AccessReviewStage

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

    • createFromDiscriminatorValue

      @Nonnull public static AccessReviewStage 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 AccessReviewStage
    • getDecisions

      @Nullable public List<AccessReviewInstanceDecisionItem> getDecisions()
      Gets the decisions property value. Each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed.
      Returns:
      a List<AccessReviewInstanceDecisionItem>
    • getEndDateTime

      @Nullable public OffsetDateTime getEndDateTime()
      Gets the endDateTime property value. The date and time in ISO 8601 format and UTC time when the review stage is scheduled to end. This property is the cumulative total of the durationInDays for all stages. Read-only.
      Returns:
      a OffsetDateTime
    • getFallbackReviewers

      @Nullable public List<AccessReviewReviewerScope> getFallbackReviewers()
      Gets the fallbackReviewers property value. This collection of reviewer scopes is used to define the list of fallback reviewers. These fallback reviewers are notified to take action if no users are found from the list of reviewers specified. This could occur when either the group owner is specified as the reviewer but the group owner doesn't exist, or manager is specified as reviewer but a user's manager doesn't exist.
      Returns:
      a List<AccessReviewReviewerScope>
    • 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>>
    • getReviewers

      @Nullable public List<AccessReviewReviewerScope> getReviewers()
      Gets the reviewers property value. This collection of access review scopes is used to define who the reviewers are. For examples of options for assigning reviewers, see Assign reviewers to your access review definition using the Microsoft Graph API.
      Returns:
      a List<AccessReviewReviewerScope>
    • getStartDateTime

      @Nullable public OffsetDateTime getStartDateTime()
      Gets the startDateTime property value. The date and time in ISO 8601 format and UTC time when the review stage is scheduled to start. Read-only.
      Returns:
      a OffsetDateTime
    • getStatus

      @Nullable public String getStatus()
      Gets the status property value. Specifies the status of an accessReviewStage. Possible values: Initializing, NotStarted, Starting, InProgress, Completing, Completed, AutoReviewing, and AutoReviewed. Supports $orderby, and $filter (eq only). Read-only.
      Returns:
      a String
    • 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
    • setDecisions

      public void setDecisions(@Nullable List<AccessReviewInstanceDecisionItem> value)
      Sets the decisions property value. Each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed.
      Parameters:
      value - Value to set for the decisions property.
    • setEndDateTime

      public void setEndDateTime(@Nullable OffsetDateTime value)
      Sets the endDateTime property value. The date and time in ISO 8601 format and UTC time when the review stage is scheduled to end. This property is the cumulative total of the durationInDays for all stages. Read-only.
      Parameters:
      value - Value to set for the endDateTime property.
    • setFallbackReviewers

      public void setFallbackReviewers(@Nullable List<AccessReviewReviewerScope> value)
      Sets the fallbackReviewers property value. This collection of reviewer scopes is used to define the list of fallback reviewers. These fallback reviewers are notified to take action if no users are found from the list of reviewers specified. This could occur when either the group owner is specified as the reviewer but the group owner doesn't exist, or manager is specified as reviewer but a user's manager doesn't exist.
      Parameters:
      value - Value to set for the fallbackReviewers property.
    • setReviewers

      public void setReviewers(@Nullable List<AccessReviewReviewerScope> value)
      Sets the reviewers property value. This collection of access review scopes is used to define who the reviewers are. For examples of options for assigning reviewers, see Assign reviewers to your access review definition using the Microsoft Graph API.
      Parameters:
      value - Value to set for the reviewers property.
    • setStartDateTime

      public void setStartDateTime(@Nullable OffsetDateTime value)
      Sets the startDateTime property value. The date and time in ISO 8601 format and UTC time when the review stage is scheduled to start. Read-only.
      Parameters:
      value - Value to set for the startDateTime property.
    • setStatus

      public void setStatus(@Nullable String value)
      Sets the status property value. Specifies the status of an accessReviewStage. Possible values: Initializing, NotStarted, Starting, InProgress, Completing, Completed, AutoReviewing, and AutoReviewed. Supports $orderby, and $filter (eq only). Read-only.
      Parameters:
      value - Value to set for the status property.