Package com.microsoft.graph.models
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
-
Field Summary
Fields inherited from class com.microsoft.graph.models.AccessReviewRecommendationInsightSetting
backingStore -
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a newUserLastSignInRecommendationInsightSettingand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptioncreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueThe deserialization information for the current modelcom.microsoft.kiota.PeriodAndDurationGets the recommendationLookBackDuration property value.Gets the signInScope property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidsetRecommendationLookBackDuration(com.microsoft.kiota.PeriodAndDuration value) Sets the recommendationLookBackDuration property value.voidSets the signInScope property value.Methods inherited from class com.microsoft.graph.models.AccessReviewRecommendationInsightSetting
getAdditionalData, getBackingStore, getOdataType, setAdditionalData, setBackingStore, setOdataType
-
Constructor Details
-
UserLastSignInRecommendationInsightSetting
public UserLastSignInRecommendationInsightSetting()Instantiates a newUserLastSignInRecommendationInsightSettingand sets the default values.
-
-
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:
getFieldDeserializersin interfacecom.microsoft.kiota.serialization.Parsable- Overrides:
getFieldDeserializersin classAccessReviewRecommendationInsightSetting- 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
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:
serializein interfacecom.microsoft.kiota.serialization.Parsable- Overrides:
serializein classAccessReviewRecommendationInsightSetting- 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
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.
-