Package com.microsoft.graph.models
Class AccessReviewInstanceDecisionItem
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.AccessReviewInstanceDecisionItem
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder
,com.microsoft.kiota.serialization.Parsable
,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class AccessReviewInstanceDecisionItem
extends Entity
implements com.microsoft.kiota.serialization.Parsable
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a newAccessReviewInstanceDecisionItem
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 accessReviewId property value.Gets the appliedBy property value.Gets the appliedDateTime property value.Gets the applyResult property value.Gets the decision property value.The deserialization information for the current modelGets the insights property value.Gets the justification property value.Gets the principal property value.Gets the principalLink property value.Gets the recommendation property value.Gets the resource property value.Gets the resourceLink property value.Gets the reviewedBy property value.Gets the reviewedDateTime property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
setAccessReviewId
(String value) Sets the accessReviewId property value.void
setAppliedBy
(UserIdentity value) Sets the appliedBy property value.void
setAppliedDateTime
(OffsetDateTime value) Sets the appliedDateTime property value.void
setApplyResult
(String value) Sets the applyResult property value.void
setDecision
(String value) Sets the decision property value.void
setInsights
(List<GovernanceInsight> value) Sets the insights property value.void
setJustification
(String value) Sets the justification property value.void
setPrincipal
(Identity value) Sets the principal property value.void
setPrincipalLink
(String value) Sets the principalLink property value.void
setRecommendation
(String value) Sets the recommendation property value.void
Sets the resource property value.void
setResourceLink
(String value) Sets the resourceLink property value.void
setReviewedBy
(UserIdentity value) Sets the reviewedBy property value.void
Sets the reviewedDateTime property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
AccessReviewInstanceDecisionItem
public AccessReviewInstanceDecisionItem()Instantiates a newAccessReviewInstanceDecisionItem
and sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static AccessReviewInstanceDecisionItem 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
AccessReviewInstanceDecisionItem
-
getAccessReviewId
Gets the accessReviewId property value. The identifier of the accessReviewInstance parent. Supports $select. Read-only.- Returns:
- a
String
-
getAppliedBy
Gets the appliedBy property value. The identifier of the user who applied the decision. Read-only.- Returns:
- a
UserIdentity
-
getAppliedDateTime
Gets the appliedDateTime property value. The timestamp when the approval decision was applied.00000000-0000-0000-0000-000000000000 if the assigned reviewer hasn't applied the decision or it was automatically applied. The DatetimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Supports $select. Read-only.- Returns:
- a
OffsetDateTime
-
getApplyResult
Gets the applyResult property value. The result of applying the decision. Possible values: New, AppliedSuccessfully, AppliedWithUnknownFailure, AppliedSuccessfullyButObjectNotFound and ApplyNotSupported. Supports $select, $orderby, and $filter (eq only). Read-only.- Returns:
- a
String
-
getDecision
Gets the decision property value. Result of the review. Possible values: Approve, Deny, NotReviewed, or DontKnow. Supports $select, $orderby, and $filter (eq only).- 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>>
-
getInsights
Gets the insights property value. Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem.- Returns:
- a
List<GovernanceInsight>
-
getJustification
Gets the justification property value. Justification left by the reviewer when they made the decision.- Returns:
- a
String
-
getPrincipal
Gets the principal property value. Every decision item in an access review represents a principal's access to a resource. This property represents details of the principal. For example, if a decision item represents access of User 'Bob' to Group 'Sales' - The principal is 'Bob' and the resource is 'Sales'. Principals can be of two types - userIdentity and servicePrincipalIdentity. Supports $select. Read-only.- Returns:
- a
Identity
-
getPrincipalLink
Gets the principalLink property value. A link to the principal object. For example, https://graph.microsoft.com/v1.0/users/a6c7aecb-cbfd-4763-87ef-e91b4bd509d9. Read-only.- Returns:
- a
String
-
getRecommendation
Gets the recommendation property value. A system-generated recommendation for the approval decision based off last interactive sign-in to tenant. The value is Approve if the sign-in is fewer than 30 days after the start of review, Deny if the sign-in is greater than 30 days after, or NoInfoAvailable. Possible values: Approve, Deny, or NoInfoAvailable. Supports $select, $orderby, and $filter (eq only). Read-only.- Returns:
- a
String
-
getResource
Gets the resource property value. Every decision item in an access review represents a principal's access to a resource. This property represents details of the resource. For example, if a decision item represents access of User 'Bob' to Group 'Sales' - The principal is Bob and the resource is 'Sales'. Resources can be of multiple types. See accessReviewInstanceDecisionItemResource. Read-only.- Returns:
- a
AccessReviewInstanceDecisionItemResource
-
getResourceLink
Gets the resourceLink property value. A link to the resource. For example, https://graph.microsoft.com/v1.0/servicePrincipals/c86300f3-8695-4320-9f6e-32a2555f5ff8. Supports $select. Read-only.- Returns:
- a
String
-
getReviewedBy
Gets the reviewedBy property value. The identifier of the reviewer.00000000-0000-0000-0000-000000000000 if the assigned reviewer hasn't reviewed. Supports $select. Read-only.- Returns:
- a
UserIdentity
-
getReviewedDateTime
Gets the reviewedDateTime property value. The timestamp when the review decision occurred. Supports $select. Read-only.- Returns:
- a
OffsetDateTime
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setAccessReviewId
Sets the accessReviewId property value. The identifier of the accessReviewInstance parent. Supports $select. Read-only.- Parameters:
value
- Value to set for the accessReviewId property.
-
setAppliedBy
Sets the appliedBy property value. The identifier of the user who applied the decision. Read-only.- Parameters:
value
- Value to set for the appliedBy property.
-
setAppliedDateTime
Sets the appliedDateTime property value. The timestamp when the approval decision was applied.00000000-0000-0000-0000-000000000000 if the assigned reviewer hasn't applied the decision or it was automatically applied. The DatetimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Supports $select. Read-only.- Parameters:
value
- Value to set for the appliedDateTime property.
-
setApplyResult
Sets the applyResult property value. The result of applying the decision. Possible values: New, AppliedSuccessfully, AppliedWithUnknownFailure, AppliedSuccessfullyButObjectNotFound and ApplyNotSupported. Supports $select, $orderby, and $filter (eq only). Read-only.- Parameters:
value
- Value to set for the applyResult property.
-
setDecision
Sets the decision property value. Result of the review. Possible values: Approve, Deny, NotReviewed, or DontKnow. Supports $select, $orderby, and $filter (eq only).- Parameters:
value
- Value to set for the decision property.
-
setInsights
Sets the insights property value. Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem.- Parameters:
value
- Value to set for the insights property.
-
setJustification
Sets the justification property value. Justification left by the reviewer when they made the decision.- Parameters:
value
- Value to set for the justification property.
-
setPrincipal
Sets the principal property value. Every decision item in an access review represents a principal's access to a resource. This property represents details of the principal. For example, if a decision item represents access of User 'Bob' to Group 'Sales' - The principal is 'Bob' and the resource is 'Sales'. Principals can be of two types - userIdentity and servicePrincipalIdentity. Supports $select. Read-only.- Parameters:
value
- Value to set for the principal property.
-
setPrincipalLink
Sets the principalLink property value. A link to the principal object. For example, https://graph.microsoft.com/v1.0/users/a6c7aecb-cbfd-4763-87ef-e91b4bd509d9. Read-only.- Parameters:
value
- Value to set for the principalLink property.
-
setRecommendation
Sets the recommendation property value. A system-generated recommendation for the approval decision based off last interactive sign-in to tenant. The value is Approve if the sign-in is fewer than 30 days after the start of review, Deny if the sign-in is greater than 30 days after, or NoInfoAvailable. Possible values: Approve, Deny, or NoInfoAvailable. Supports $select, $orderby, and $filter (eq only). Read-only.- Parameters:
value
- Value to set for the recommendation property.
-
setResource
Sets the resource property value. Every decision item in an access review represents a principal's access to a resource. This property represents details of the resource. For example, if a decision item represents access of User 'Bob' to Group 'Sales' - The principal is Bob and the resource is 'Sales'. Resources can be of multiple types. See accessReviewInstanceDecisionItemResource. Read-only.- Parameters:
value
- Value to set for the resource property.
-
setResourceLink
Sets the resourceLink property value. A link to the resource. For example, https://graph.microsoft.com/v1.0/servicePrincipals/c86300f3-8695-4320-9f6e-32a2555f5ff8. Supports $select. Read-only.- Parameters:
value
- Value to set for the resourceLink property.
-
setReviewedBy
Sets the reviewedBy property value. The identifier of the reviewer.00000000-0000-0000-0000-000000000000 if the assigned reviewer hasn't reviewed. Supports $select. Read-only.- Parameters:
value
- Value to set for the reviewedBy property.
-
setReviewedDateTime
Sets the reviewedDateTime property value. The timestamp when the review decision occurred. Supports $select. Read-only.- Parameters:
value
- Value to set for the reviewedDateTime property.
-