Class UserLastSignInRecommendationInsightSetting

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

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

  • Method Details

    • createFromDiscriminatorValue

      @Nonnull public static UserLastSignInRecommendationInsightSetting 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 UserLastSignInRecommendationInsightSetting
    • 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 AccessReviewRecommendationInsightSetting
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getRecommendationLookBackDuration

      @Nullable public com.microsoft.kiota.PeriodAndDuration getRecommendationLookBackDuration()
      Gets the recommendationLookBackDuration property value. Optional. Indicates the time period of inactivity (with respect to the start date of the review instance) that recommendations will be configured from. The recommendation will be to deny if the user is inactive during the look-back duration. For reviews of groups and Microsoft Entra roles, any duration is accepted. For reviews of applications, 30 days is the maximum duration. If not specified, the duration is 30 days.
      Returns:
      a PeriodAndDuration
    • getSignInScope

      @Nullable public UserSignInRecommendationScope getSignInScope()
      Gets the signInScope property value. Indicates whether inactivity is calculated based on the user's inactivity in the tenant or in the application. The possible values are tenant, application, unknownFutureValue. application is only relevant when the access review is a review of an assignment to an application.
      Returns:
      a UserSignInRecommendationScope
    • 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 AccessReviewRecommendationInsightSetting
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setRecommendationLookBackDuration

      public void setRecommendationLookBackDuration(@Nullable com.microsoft.kiota.PeriodAndDuration value)
      Sets the recommendationLookBackDuration property value. Optional. Indicates the time period of inactivity (with respect to the start date of the review instance) that recommendations will be configured from. The recommendation will be to deny if the user is inactive during the look-back duration. For reviews of groups and Microsoft Entra roles, any duration is accepted. For reviews of applications, 30 days is the maximum duration. If not specified, the duration is 30 days.
      Parameters:
      value - Value to set for the recommendationLookBackDuration property.
    • setSignInScope

      public void setSignInScope(@Nullable UserSignInRecommendationScope value)
      Sets the signInScope property value. Indicates whether inactivity is calculated based on the user's inactivity in the tenant or in the application. The possible values are tenant, application, unknownFutureValue. application is only relevant when the access review is a review of an assignment to an application.
      Parameters:
      value - Value to set for the signInScope property.