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
  • Constructor Details

    • RiskyUser

      public RiskyUser()
      Instantiates a new RiskyUser 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 interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      getFieldDeserializers in class Entity
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getHistory

      @Nullable public List<RiskyUserHistoryItem> getHistory()
      Gets the history property value. The activity related to user risk level change
      Returns:
      a List<RiskyUserHistoryItem>
    • getIsDeleted

      @Nullable public Boolean getIsDeleted()
      Gets the isDeleted property value. Indicates whether the user is deleted. Possible values are: true, false.
      Returns:
      a Boolean
    • getIsProcessing

      @Nullable public Boolean getIsProcessing()
      Gets the isProcessing property value. Indicates whether the backend is processing a user's risky state.
      Returns:
      a Boolean
    • getRiskDetail

      @Nullable public RiskDetail 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

      @Nullable public OffsetDateTime 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

      @Nullable public RiskLevel 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

      @Nullable public RiskState 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

      @Nullable public String getUserDisplayName()
      Gets the userDisplayName property value. Risky user display name.
      Returns:
      a String
    • getUserPrincipalName

      @Nullable public 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
      Specified by:
      serialize in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      serialize in class Entity
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setHistory

      public void setHistory(@Nullable List<RiskyUserHistoryItem> value)
      Sets the history property value. The activity related to user risk level change
      Parameters:
      value - Value to set for the history property.
    • setIsDeleted

      public void setIsDeleted(@Nullable Boolean value)
      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

      public void setIsProcessing(@Nullable Boolean value)
      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

      public void setRiskDetail(@Nullable RiskDetail value)
      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

      public void setRiskLastUpdatedDateTime(@Nullable OffsetDateTime value)
      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

      public void setRiskLevel(@Nullable RiskLevel value)
      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

      public void setRiskState(@Nullable RiskState value)
      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

      public void setUserDisplayName(@Nullable String value)
      Sets the userDisplayName property value. Risky user display name.
      Parameters:
      value - Value to set for the userDisplayName property.
    • setUserPrincipalName

      public void setUserPrincipalName(@Nullable String value)
      Sets the userPrincipalName property value. Risky user principal name.
      Parameters:
      value - Value to set for the userPrincipalName property.