Class AccessReviewStageSettings

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

@Generated("com.microsoft.kiota") public class AccessReviewStageSettings extends Object implements com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.store.BackedModel, com.microsoft.kiota.serialization.Parsable
  • Field Details

    • backingStore

      @Nonnull protected com.microsoft.kiota.store.BackingStore backingStore
      Stores model information.
  • Constructor Details

    • AccessReviewStageSettings

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

    • createFromDiscriminatorValue

      @Nonnull public static AccessReviewStageSettings 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 AccessReviewStageSettings
    • getAdditionalData

      @Nonnull public Map<String,Object> getAdditionalData()
      Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
      Specified by:
      getAdditionalData in interface com.microsoft.kiota.serialization.AdditionalDataHolder
      Returns:
      a Map<String,Object>
    • getBackingStore

      @Nonnull public com.microsoft.kiota.store.BackingStore getBackingStore()
      Gets the backingStore property value. Stores model information.
      Specified by:
      getBackingStore in interface com.microsoft.kiota.store.BackedModel
      Returns:
      a BackingStore
    • getDecisionsThatWillMoveToNextStage

      @Nullable public List<String> getDecisionsThatWillMoveToNextStage()
      Gets the decisionsThatWillMoveToNextStage property value. Indicate which decisions will go to the next stage. Can be a subset of Approve, Deny, Recommendation, or NotReviewed. If not provided, all decisions will go to the next stage. Optional.
      Returns:
      a List<String>
    • getDependsOn

      @Nullable public List<String> getDependsOn()
      Gets the dependsOn property value. Defines the sequential or parallel order of the stages and depends on the stageId. Only sequential stages are currently supported. For example, if stageId is 2, then dependsOn must be 1. If stageId is 1, don't specify dependsOn. Required if stageId isn't 1.
      Returns:
      a List<String>
    • getDurationInDays

      @Nullable public Integer getDurationInDays()
      Gets the durationInDays property value. The duration of the stage. Required. NOTE: The cumulative value of this property across all stages 1. Will override the instanceDurationInDays setting on the accessReviewScheduleDefinition object. 2. Can't exceed the length of one recurrence. That is, if the review recurs weekly, the cumulative durationInDays can't exceed 7.
      Returns:
      a Integer
    • getFallbackReviewers

      @Nullable public List<AccessReviewReviewerScope> getFallbackReviewers()
      Gets the fallbackReviewers property value. If provided, the fallback reviewers are asked to complete a review if the primary reviewers don't exist. For example, if managers are selected as reviewers and a principal under review doesn't have a manager in Microsoft Entra ID, the fallback reviewers are asked to review that principal. NOTE: The value of this property overrides the corresponding setting on the accessReviewScheduleDefinition object.
      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
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getOdataType

      @Nullable public String getOdataType()
      Gets the @odata.type property value. The OdataType property
      Returns:
      a String
    • getRecommendationInsightSettings

      @Nullable public List<AccessReviewRecommendationInsightSetting> getRecommendationInsightSettings()
      Gets the recommendationInsightSettings property value. The recommendationInsightSettings property
      Returns:
      a List<AccessReviewRecommendationInsightSetting>
    • getRecommendationsEnabled

      @Nullable public Boolean getRecommendationsEnabled()
      Gets the recommendationsEnabled property value. Indicates whether showing recommendations to reviewers is enabled. Required. NOTE: The value of this property overrides override the corresponding setting on the accessReviewScheduleDefinition object.
      Returns:
      a Boolean
    • getReviewers

      @Nullable public List<AccessReviewReviewerScope> getReviewers()
      Gets the reviewers property value. Defines who the reviewers are. If none is specified, the review is a self-review (users review their own access). For examples of options for assigning reviewers, see Assign reviewers to your access review definition using the Microsoft Graph API. NOTE: The value of this property overrides the corresponding setting on the accessReviewScheduleDefinition.
      Returns:
      a List<AccessReviewReviewerScope>
    • getStageId

      @Nullable public String getStageId()
      Gets the stageId property value. Unique identifier of the accessReviewStageSettings object. The stageId is used by the dependsOn property to indicate the order of the stages. Required.
      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
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setAdditionalData

      public void setAdditionalData(@Nullable Map<String,Object> value)
      Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
      Parameters:
      value - Value to set for the AdditionalData property.
    • setBackingStore

      public void setBackingStore(@Nonnull com.microsoft.kiota.store.BackingStore value)
      Sets the backingStore property value. Stores model information.
      Parameters:
      value - Value to set for the backingStore property.
    • setDecisionsThatWillMoveToNextStage

      public void setDecisionsThatWillMoveToNextStage(@Nullable List<String> value)
      Sets the decisionsThatWillMoveToNextStage property value. Indicate which decisions will go to the next stage. Can be a subset of Approve, Deny, Recommendation, or NotReviewed. If not provided, all decisions will go to the next stage. Optional.
      Parameters:
      value - Value to set for the decisionsThatWillMoveToNextStage property.
    • setDependsOn

      public void setDependsOn(@Nullable List<String> value)
      Sets the dependsOn property value. Defines the sequential or parallel order of the stages and depends on the stageId. Only sequential stages are currently supported. For example, if stageId is 2, then dependsOn must be 1. If stageId is 1, don't specify dependsOn. Required if stageId isn't 1.
      Parameters:
      value - Value to set for the dependsOn property.
    • setDurationInDays

      public void setDurationInDays(@Nullable Integer value)
      Sets the durationInDays property value. The duration of the stage. Required. NOTE: The cumulative value of this property across all stages 1. Will override the instanceDurationInDays setting on the accessReviewScheduleDefinition object. 2. Can't exceed the length of one recurrence. That is, if the review recurs weekly, the cumulative durationInDays can't exceed 7.
      Parameters:
      value - Value to set for the durationInDays property.
    • setFallbackReviewers

      public void setFallbackReviewers(@Nullable List<AccessReviewReviewerScope> value)
      Sets the fallbackReviewers property value. If provided, the fallback reviewers are asked to complete a review if the primary reviewers don't exist. For example, if managers are selected as reviewers and a principal under review doesn't have a manager in Microsoft Entra ID, the fallback reviewers are asked to review that principal. NOTE: The value of this property overrides the corresponding setting on the accessReviewScheduleDefinition object.
      Parameters:
      value - Value to set for the fallbackReviewers property.
    • setOdataType

      public void setOdataType(@Nullable String value)
      Sets the @odata.type property value. The OdataType property
      Parameters:
      value - Value to set for the @odata.type property.
    • setRecommendationInsightSettings

      public void setRecommendationInsightSettings(@Nullable List<AccessReviewRecommendationInsightSetting> value)
      Sets the recommendationInsightSettings property value. The recommendationInsightSettings property
      Parameters:
      value - Value to set for the recommendationInsightSettings property.
    • setRecommendationsEnabled

      public void setRecommendationsEnabled(@Nullable Boolean value)
      Sets the recommendationsEnabled property value. Indicates whether showing recommendations to reviewers is enabled. Required. NOTE: The value of this property overrides override the corresponding setting on the accessReviewScheduleDefinition object.
      Parameters:
      value - Value to set for the recommendationsEnabled property.
    • setReviewers

      public void setReviewers(@Nullable List<AccessReviewReviewerScope> value)
      Sets the reviewers property value. Defines who the reviewers are. If none is specified, the review is a self-review (users review their own access). For examples of options for assigning reviewers, see Assign reviewers to your access review definition using the Microsoft Graph API. NOTE: The value of this property overrides the corresponding setting on the accessReviewScheduleDefinition.
      Parameters:
      value - Value to set for the reviewers property.
    • setStageId

      public void setStageId(@Nullable String value)
      Sets the stageId property value. Unique identifier of the accessReviewStageSettings object. The stageId is used by the dependsOn property to indicate the order of the stages. Required.
      Parameters:
      value - Value to set for the stageId property.