Package com.microsoft.graph.models
Class AccessReviewHistoryDefinition
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.AccessReviewHistoryDefinition
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder
,com.microsoft.kiota.serialization.Parsable
,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class AccessReviewHistoryDefinition
extends Entity
implements com.microsoft.kiota.serialization.Parsable
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a newAccessReviewHistoryDefinition
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 createdBy property value.Gets the createdDateTime property value.Gets the decisions property value.Gets the displayName property value.The deserialization information for the current modelGets the instances property value.Gets the reviewHistoryPeriodEndDateTime property value.Gets the reviewHistoryPeriodStartDateTime property value.Gets the scheduleSettings property value.Gets the scopes property value.Gets the status property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
setCreatedBy
(UserIdentity value) Sets the createdBy property value.void
setCreatedDateTime
(OffsetDateTime value) Sets the createdDateTime property value.void
Sets the decisions property value.void
setDisplayName
(String value) Sets the displayName property value.void
Sets the instances property value.void
Sets the reviewHistoryPeriodEndDateTime property value.void
Sets the reviewHistoryPeriodStartDateTime property value.void
Sets the scheduleSettings property value.void
setScopes
(List<AccessReviewScope> value) Sets the scopes 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
-
AccessReviewHistoryDefinition
public AccessReviewHistoryDefinition()Instantiates a newAccessReviewHistoryDefinition
and sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static AccessReviewHistoryDefinition 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
AccessReviewHistoryDefinition
-
getCreatedBy
Gets the createdBy property value. The createdBy property- Returns:
- a
UserIdentity
-
getCreatedDateTime
Gets the createdDateTime property value. Timestamp when the access review definition was created.- Returns:
- a
OffsetDateTime
-
getDecisions
Gets the decisions property value. Determines which review decisions will be included in the fetched review history data if specified. Optional on create. All decisions are included by default if no decisions are provided on create. Possible values are: approve, deny, dontKnow, notReviewed, and notNotified.- Returns:
- a
List<AccessReviewHistoryDecisionFilter>
-
getDisplayName
Gets the displayName property value. Name for the access review history data collection. Required.- Returns:
- a
String
-
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>>
-
getInstances
Gets the instances property value. If the accessReviewHistoryDefinition is a recurring definition, instances represent each recurrence. A definition that doesn't recur will have exactly one instance.- Returns:
- a
List<AccessReviewHistoryInstance>
-
getReviewHistoryPeriodEndDateTime
Gets the reviewHistoryPeriodEndDateTime property value. A timestamp. Reviews ending on or before this date will be included in the fetched history data. Only required if scheduleSettings isn't defined.- Returns:
- a
OffsetDateTime
-
getReviewHistoryPeriodStartDateTime
Gets the reviewHistoryPeriodStartDateTime property value. A timestamp. Reviews starting on or before this date will be included in the fetched history data. Only required if scheduleSettings isn't defined.- Returns:
- a
OffsetDateTime
-
getScheduleSettings
Gets the scheduleSettings property value. The settings for a recurring access review history definition series. Only required if reviewHistoryPeriodStartDateTime or reviewHistoryPeriodEndDateTime aren't defined. Not supported yet.- Returns:
- a
AccessReviewHistoryScheduleSettings
-
getScopes
Gets the scopes property value. Used to scope what reviews are included in the fetched history data. Fetches reviews whose scope matches with this provided scope. Required.- Returns:
- a
List<AccessReviewScope>
-
getStatus
Gets the status property value. Represents the status of the review history data collection. The possible values are: done, inProgress, error, requested, unknownFutureValue.- Returns:
- a
AccessReviewHistoryStatus
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setCreatedBy
Sets the createdBy property value. The createdBy property- Parameters:
value
- Value to set for the createdBy property.
-
setCreatedDateTime
Sets the createdDateTime property value. Timestamp when the access review definition was created.- Parameters:
value
- Value to set for the createdDateTime property.
-
setDecisions
Sets the decisions property value. Determines which review decisions will be included in the fetched review history data if specified. Optional on create. All decisions are included by default if no decisions are provided on create. Possible values are: approve, deny, dontKnow, notReviewed, and notNotified.- Parameters:
value
- Value to set for the decisions property.
-
setDisplayName
Sets the displayName property value. Name for the access review history data collection. Required.- Parameters:
value
- Value to set for the displayName property.
-
setInstances
Sets the instances property value. If the accessReviewHistoryDefinition is a recurring definition, instances represent each recurrence. A definition that doesn't recur will have exactly one instance.- Parameters:
value
- Value to set for the instances property.
-
setReviewHistoryPeriodEndDateTime
Sets the reviewHistoryPeriodEndDateTime property value. A timestamp. Reviews ending on or before this date will be included in the fetched history data. Only required if scheduleSettings isn't defined.- Parameters:
value
- Value to set for the reviewHistoryPeriodEndDateTime property.
-
setReviewHistoryPeriodStartDateTime
Sets the reviewHistoryPeriodStartDateTime property value. A timestamp. Reviews starting on or before this date will be included in the fetched history data. Only required if scheduleSettings isn't defined.- Parameters:
value
- Value to set for the reviewHistoryPeriodStartDateTime property.
-
setScheduleSettings
Sets the scheduleSettings property value. The settings for a recurring access review history definition series. Only required if reviewHistoryPeriodStartDateTime or reviewHistoryPeriodEndDateTime aren't defined. Not supported yet.- Parameters:
value
- Value to set for the scheduleSettings property.
-
setScopes
Sets the scopes property value. Used to scope what reviews are included in the fetched history data. Fetches reviews whose scope matches with this provided scope. Required.- Parameters:
value
- Value to set for the scopes property.
-
setStatus
Sets the status property value. Represents the status of the review history data collection. The possible values are: done, inProgress, error, requested, unknownFutureValue.- Parameters:
value
- Value to set for the status property.
-