Package com.microsoft.graph.models
Class AccessReviewScheduleDefinition
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.AccessReviewScheduleDefinition
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder
,com.microsoft.kiota.serialization.Parsable
,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class AccessReviewScheduleDefinition
extends Entity
implements com.microsoft.kiota.serialization.Parsable
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a newAccessReviewScheduleDefinition
and 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 valueGets the additionalNotificationRecipients property value.Gets the createdBy property value.Gets the createdDateTime property value.Gets the descriptionForAdmins property value.Gets the descriptionForReviewers property value.Gets the displayName property value.Gets the fallbackReviewers property value.The deserialization information for the current modelGets the instanceEnumerationScope property value.Gets the instances property value.Gets the lastModifiedDateTime property value.Gets the reviewers property value.getScope()
Gets the scope property value.Gets the settings property value.Gets the stageSettings property value.Gets the status property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
Sets the additionalNotificationRecipients property value.void
setCreatedBy
(UserIdentity value) Sets the createdBy property value.void
setCreatedDateTime
(OffsetDateTime value) Sets the createdDateTime property value.void
setDescriptionForAdmins
(String value) Sets the descriptionForAdmins property value.void
setDescriptionForReviewers
(String value) Sets the descriptionForReviewers property value.void
setDisplayName
(String value) Sets the displayName property value.void
Sets the fallbackReviewers property value.void
Sets the instanceEnumerationScope property value.void
setInstances
(List<AccessReviewInstance> value) Sets the instances property value.void
Sets the lastModifiedDateTime property value.void
Sets the reviewers property value.void
setScope
(AccessReviewScope value) Sets the scope property value.void
Sets the settings property value.void
Sets the stageSettings property value.void
Sets the status property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
AccessReviewScheduleDefinition
public AccessReviewScheduleDefinition()Instantiates a newAccessReviewScheduleDefinition
and sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static AccessReviewScheduleDefinition 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
AccessReviewScheduleDefinition
-
getAdditionalNotificationRecipients
Gets the additionalNotificationRecipients property value. Defines the list of additional users or group members to be notified of the access review progress.- Returns:
- a
List<AccessReviewNotificationRecipientItem>
-
getCreatedBy
Gets the createdBy property value. User who created this review. Read-only.- Returns:
- a
UserIdentity
-
getCreatedDateTime
Gets the createdDateTime property value. Timestamp when the access review series was created. Supports $select. Read-only.- Returns:
- a
OffsetDateTime
-
getDescriptionForAdmins
Gets the descriptionForAdmins property value. Description provided by review creators to provide more context of the review to admins. Supports $select.- Returns:
- a
String
-
getDescriptionForReviewers
Gets the descriptionForReviewers property value. Description provided by review creators to provide more context of the review to reviewers. Reviewers see this description in the email sent to them requesting their review. Email notifications support up to 256 characters. Supports $select.- Returns:
- a
String
-
getDisplayName
Gets the displayName property value. Name of the access review series. Supports $select and $orderby. Required on create.- Returns:
- a
String
-
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. See accessReviewReviewerScope. Replaces backupReviewers. Supports $select. NOTE: The value of this property will be ignored if fallback reviewers are assigned through the stageSettings property.- 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 interfacecom.microsoft.kiota.serialization.Parsable
- Overrides:
getFieldDeserializers
in classEntity
- Returns:
- a
Map<String,
Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getInstanceEnumerationScope
Gets the instanceEnumerationScope property value. This property is required when scoping a review to guest users' access across all Microsoft 365 groups and determines which Microsoft 365 groups are reviewed. Each group becomes a unique accessReviewInstance of the access review series. For supported scopes, see accessReviewScope. Supports $select. For examples of options for configuring instanceEnumerationScope, see Configure the scope of your access review definition using the Microsoft Graph API.- Returns:
- a
AccessReviewScope
-
getInstances
Gets the instances property value. If the accessReviewScheduleDefinition is a recurring access review, instances represent each recurrence. A review that doesn't recur will have exactly one instance. Instances also represent each unique resource under review in the accessReviewScheduleDefinition. If a review has multiple resources and multiple instances, each resource has a unique instance for each recurrence.- Returns:
- a
List<AccessReviewInstance>
-
getLastModifiedDateTime
Gets the lastModifiedDateTime property value. Timestamp when the access review series was last modified. Supports $select. Read-only.- Returns:
- a
OffsetDateTime
-
getReviewers
Gets the reviewers property value. This collection of access review scopes is used to define who are the reviewers. The reviewers property is only updatable if individual users are assigned as reviewers. Required on create. Supports $select. 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 will be ignored if reviewers are assigned through the stageSettings property.- Returns:
- a
List<AccessReviewReviewerScope>
-
getScope
Gets the scope property value. Defines the entities whose access is reviewed. For supported scopes, see accessReviewScope. Required on create. Supports $select and $filter (contains only). For examples of options for configuring scope, see Configure the scope of your access review definition using the Microsoft Graph API.- Returns:
- a
AccessReviewScope
-
getSettings
Gets the settings property value. The settings for an access review series, see type definition below. Supports $select. Required on create.- Returns:
- a
AccessReviewScheduleSettings
-
getStageSettings
Gets the stageSettings property value. Required only for a multi-stage access review to define the stages and their settings. You can break down each review instance into up to three sequential stages, where each stage can have a different set of reviewers, fallback reviewers, and settings. Stages are created sequentially based on the dependsOn property. Optional. When this property is defined, its settings are used instead of the corresponding settings in the accessReviewScheduleDefinition object and its settings, reviewers, and fallbackReviewers properties.- Returns:
- a
List<AccessReviewStageSettings>
-
getStatus
Gets the status property value. This read-only field specifies the status of an access review. The typical states include Initializing, NotStarted, Starting, InProgress, Completing, Completed, AutoReviewing, and AutoReviewed. Supports $select, $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 -
setAdditionalNotificationRecipients
public void setAdditionalNotificationRecipients(@Nullable List<AccessReviewNotificationRecipientItem> value) Sets the additionalNotificationRecipients property value. Defines the list of additional users or group members to be notified of the access review progress.- Parameters:
value
- Value to set for the additionalNotificationRecipients property.
-
setCreatedBy
Sets the createdBy property value. User who created this review. Read-only.- Parameters:
value
- Value to set for the createdBy property.
-
setCreatedDateTime
Sets the createdDateTime property value. Timestamp when the access review series was created. Supports $select. Read-only.- Parameters:
value
- Value to set for the createdDateTime property.
-
setDescriptionForAdmins
Sets the descriptionForAdmins property value. Description provided by review creators to provide more context of the review to admins. Supports $select.- Parameters:
value
- Value to set for the descriptionForAdmins property.
-
setDescriptionForReviewers
Sets the descriptionForReviewers property value. Description provided by review creators to provide more context of the review to reviewers. Reviewers see this description in the email sent to them requesting their review. Email notifications support up to 256 characters. Supports $select.- Parameters:
value
- Value to set for the descriptionForReviewers property.
-
setDisplayName
Sets the displayName property value. Name of the access review series. Supports $select and $orderby. Required on create.- Parameters:
value
- Value to set for the displayName property.
-
setFallbackReviewers
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. See accessReviewReviewerScope. Replaces backupReviewers. Supports $select. NOTE: The value of this property will be ignored if fallback reviewers are assigned through the stageSettings property.- Parameters:
value
- Value to set for the fallbackReviewers property.
-
setInstanceEnumerationScope
Sets the instanceEnumerationScope property value. This property is required when scoping a review to guest users' access across all Microsoft 365 groups and determines which Microsoft 365 groups are reviewed. Each group becomes a unique accessReviewInstance of the access review series. For supported scopes, see accessReviewScope. Supports $select. For examples of options for configuring instanceEnumerationScope, see Configure the scope of your access review definition using the Microsoft Graph API.- Parameters:
value
- Value to set for the instanceEnumerationScope property.
-
setInstances
Sets the instances property value. If the accessReviewScheduleDefinition is a recurring access review, instances represent each recurrence. A review that doesn't recur will have exactly one instance. Instances also represent each unique resource under review in the accessReviewScheduleDefinition. If a review has multiple resources and multiple instances, each resource has a unique instance for each recurrence.- Parameters:
value
- Value to set for the instances property.
-
setLastModifiedDateTime
Sets the lastModifiedDateTime property value. Timestamp when the access review series was last modified. Supports $select. Read-only.- Parameters:
value
- Value to set for the lastModifiedDateTime property.
-
setReviewers
Sets the reviewers property value. This collection of access review scopes is used to define who are the reviewers. The reviewers property is only updatable if individual users are assigned as reviewers. Required on create. Supports $select. 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 will be ignored if reviewers are assigned through the stageSettings property.- Parameters:
value
- Value to set for the reviewers property.
-
setScope
Sets the scope property value. Defines the entities whose access is reviewed. For supported scopes, see accessReviewScope. Required on create. Supports $select and $filter (contains only). For examples of options for configuring scope, see Configure the scope of your access review definition using the Microsoft Graph API.- Parameters:
value
- Value to set for the scope property.
-
setSettings
Sets the settings property value. The settings for an access review series, see type definition below. Supports $select. Required on create.- Parameters:
value
- Value to set for the settings property.
-
setStageSettings
Sets the stageSettings property value. Required only for a multi-stage access review to define the stages and their settings. You can break down each review instance into up to three sequential stages, where each stage can have a different set of reviewers, fallback reviewers, and settings. Stages are created sequentially based on the dependsOn property. Optional. When this property is defined, its settings are used instead of the corresponding settings in the accessReviewScheduleDefinition object and its settings, reviewers, and fallbackReviewers properties.- Parameters:
value
- Value to set for the stageSettings property.
-
setStatus
Sets the status property value. This read-only field specifies the status of an access review. The typical states include Initializing, NotStarted, Starting, InProgress, Completing, Completed, AutoReviewing, and AutoReviewed. Supports $select, $orderby, and $filter (eq only). Read-only.- Parameters:
value
- Value to set for the status property.
-