Package com.microsoft.graph.models
Class RiskyUser
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.RiskyUser
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder
,com.microsoft.kiota.serialization.Parsable
,com.microsoft.kiota.store.BackedModel
- Direct Known Subclasses:
RiskyUserHistoryItem
@Generated("com.microsoft.kiota")
public class RiskyUser
extends Entity
implements com.microsoft.kiota.serialization.Parsable
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic RiskyUser
createFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueThe deserialization information for the current modelGets the history property value.Gets the isDeleted property value.Gets the isProcessing property value.Gets the riskDetail property value.Gets the riskLastUpdatedDateTime property value.Gets the riskLevel property value.Gets the riskState property value.Gets the userDisplayName property value.Gets the userPrincipalName property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
setHistory
(List<RiskyUserHistoryItem> value) Sets the history property value.void
setIsDeleted
(Boolean value) Sets the isDeleted property value.void
setIsProcessing
(Boolean value) Sets the isProcessing property value.void
setRiskDetail
(RiskDetail value) Sets the riskDetail property value.void
Sets the riskLastUpdatedDateTime property value.void
setRiskLevel
(RiskLevel value) Sets the riskLevel property value.void
setRiskState
(RiskState value) Sets the riskState property value.void
setUserDisplayName
(String value) Sets the userDisplayName property value.void
setUserPrincipalName
(String value) Sets the userPrincipalName property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
RiskyUser
public RiskyUser()Instantiates a newRiskyUser
and sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static RiskyUser 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
RiskyUser
-
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>>
-
getHistory
Gets the history property value. The activity related to user risk level change- Returns:
- a
List<RiskyUserHistoryItem>
-
getIsDeleted
Gets the isDeleted property value. Indicates whether the user is deleted. Possible values are: true, false.- Returns:
- a
Boolean
-
getIsProcessing
Gets the isProcessing property value. Indicates whether the backend is processing a user's risky state.- Returns:
- a
Boolean
-
getRiskDetail
Gets the riskDetail property value. The possible values are none, adminGeneratedTemporaryPassword, userPerformedSecuredPasswordChange, userPerformedSecuredPasswordReset, adminConfirmedSigninSafe, aiConfirmedSigninSafe, userPassedMFADrivenByRiskBasedPolicy, adminDismissedAllRiskForUser, adminConfirmedSigninCompromised, hidden, adminConfirmedUserCompromised, unknownFutureValue, adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal, m365DAdminDismissedDetection, userChangedPasswordOnPremises, adminDismissedRiskForSignIn, adminConfirmedAccountSafe. Use the Prefer: include-unknown-enum-members request header to get the following value or values in this evolvable enum: adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal, m365DAdminDismissedDetection, userChangedPasswordOnPremises, adminDismissedRiskForSignIn, adminConfirmedAccountSafe.- Returns:
- a
RiskDetail
-
getRiskLastUpdatedDateTime
Gets the riskLastUpdatedDateTime property value. The date and time that the risky user was last updated. 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.- Returns:
- a
OffsetDateTime
-
getRiskLevel
Gets the riskLevel property value. Level of the detected risky user. Possible values are: low, medium, high, hidden, none, unknownFutureValue.- Returns:
- a
RiskLevel
-
getRiskState
Gets the riskState property value. State of the user's risk. Possible values are: none, confirmedSafe, remediated, dismissed, atRisk, confirmedCompromised, unknownFutureValue.- Returns:
- a
RiskState
-
getUserDisplayName
Gets the userDisplayName property value. Risky user display name.- Returns:
- a
String
-
getUserPrincipalName
Gets the userPrincipalName property value. Risky user principal name.- Returns:
- a
String
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setHistory
Sets the history property value. The activity related to user risk level change- Parameters:
value
- Value to set for the history property.
-
setIsDeleted
Sets the isDeleted property value. Indicates whether the user is deleted. Possible values are: true, false.- Parameters:
value
- Value to set for the isDeleted property.
-
setIsProcessing
Sets the isProcessing property value. Indicates whether the backend is processing a user's risky state.- Parameters:
value
- Value to set for the isProcessing property.
-
setRiskDetail
Sets the riskDetail property value. The possible values are none, adminGeneratedTemporaryPassword, userPerformedSecuredPasswordChange, userPerformedSecuredPasswordReset, adminConfirmedSigninSafe, aiConfirmedSigninSafe, userPassedMFADrivenByRiskBasedPolicy, adminDismissedAllRiskForUser, adminConfirmedSigninCompromised, hidden, adminConfirmedUserCompromised, unknownFutureValue, adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal, m365DAdminDismissedDetection, userChangedPasswordOnPremises, adminDismissedRiskForSignIn, adminConfirmedAccountSafe. Use the Prefer: include-unknown-enum-members request header to get the following value or values in this evolvable enum: adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal, m365DAdminDismissedDetection, userChangedPasswordOnPremises, adminDismissedRiskForSignIn, adminConfirmedAccountSafe.- Parameters:
value
- Value to set for the riskDetail property.
-
setRiskLastUpdatedDateTime
Sets the riskLastUpdatedDateTime property value. The date and time that the risky user was last updated. 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.- Parameters:
value
- Value to set for the riskLastUpdatedDateTime property.
-
setRiskLevel
Sets the riskLevel property value. Level of the detected risky user. Possible values are: low, medium, high, hidden, none, unknownFutureValue.- Parameters:
value
- Value to set for the riskLevel property.
-
setRiskState
Sets the riskState property value. State of the user's risk. Possible values are: none, confirmedSafe, remediated, dismissed, atRisk, confirmedCompromised, unknownFutureValue.- Parameters:
value
- Value to set for the riskState property.
-
setUserDisplayName
Sets the userDisplayName property value. Risky user display name.- Parameters:
value
- Value to set for the userDisplayName property.
-
setUserPrincipalName
Sets the userPrincipalName property value. Risky user principal name.- Parameters:
value
- Value to set for the userPrincipalName property.
-