Package com.microsoft.graph.models
Class SignIn
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.SignIn
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder,com.microsoft.kiota.serialization.Parsable,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class SignIn
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 SignIncreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the appDisplayName property value.getAppId()Gets the appId property value.Gets the appliedConditionalAccessPolicies property value.Gets the clientAppUsed property value.Gets the conditionalAccessStatus property value.Gets the correlationId property value.Gets the createdDateTime property value.Gets the deviceDetail property value.The deserialization information for the current modelGets the ipAddress property value.Gets the isInteractive property value.Gets the location property value.Gets the resourceDisplayName property value.Gets the resourceId property value.Gets the riskDetail property value.Gets the riskEventTypes property value.Gets the riskEventTypes_v2 property value.Gets the riskLevelAggregated property value.Gets the riskLevelDuringSignIn property value.Gets the riskState property value.Gets the status property value.Gets the userDisplayName property value.Gets the userId property value.Gets the userPrincipalName property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidsetAppDisplayName(String value) Sets the appDisplayName property value.voidSets the appId property value.voidSets the appliedConditionalAccessPolicies property value.voidsetClientAppUsed(String value) Sets the clientAppUsed property value.voidSets the conditionalAccessStatus property value.voidsetCorrelationId(String value) Sets the correlationId property value.voidsetCreatedDateTime(OffsetDateTime value) Sets the createdDateTime property value.voidsetDeviceDetail(DeviceDetail value) Sets the deviceDetail property value.voidsetIpAddress(String value) Sets the ipAddress property value.voidsetIsInteractive(Boolean value) Sets the isInteractive property value.voidsetLocation(SignInLocation value) Sets the location property value.voidsetResourceDisplayName(String value) Sets the resourceDisplayName property value.voidsetResourceId(String value) Sets the resourceId property value.voidsetRiskDetail(RiskDetail value) Sets the riskDetail property value.voidsetRiskEventTypes(List<RiskEventType> value) Sets the riskEventTypes property value.voidsetRiskEventTypesV2(List<String> value) Sets the riskEventTypes_v2 property value.voidsetRiskLevelAggregated(RiskLevel value) Sets the riskLevelAggregated property value.voidSets the riskLevelDuringSignIn property value.voidsetRiskState(RiskState value) Sets the riskState property value.voidsetStatus(SignInStatus value) Sets the status property value.voidsetUserDisplayName(String value) Sets the userDisplayName property value.voidSets the userId property value.voidsetUserPrincipalName(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
-
SignIn
public SignIn()Instantiates a newSignInand sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static SignIn 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
SignIn
-
getAppDisplayName
Gets the appDisplayName property value. App name displayed in the Microsoft Entra admin center. Supports $filter (eq, startsWith).- Returns:
- a
String
-
getAppId
Gets the appId property value. Unique GUID that represents the app ID in the Microsoft Entra ID. Supports $filter (eq).- Returns:
- a
String
-
getAppliedConditionalAccessPolicies
Gets the appliedConditionalAccessPolicies property value. Provides a list of conditional access policies that the corresponding sign-in activity triggers. Apps need more Conditional Access-related privileges to read the details of this property. For more information, see Permissions for viewing applied conditional access (CA) policies in sign-ins.- Returns:
- a
List<AppliedConditionalAccessPolicy>
-
getClientAppUsed
Gets the clientAppUsed property value. Identifies the client used for the sign-in activity. Modern authentication clients include Browser, modern clients. Legacy authentication clients include Exchange ActiveSync, IMAP, MAPI, SMTP, POP, and other clients. Supports $filter (eq).- Returns:
- a
String
-
getConditionalAccessStatus
Gets the conditionalAccessStatus property value. Reports status of an activated conditional access policy. Possible values are: success, failure, notApplied, and unknownFutureValue. Supports $filter (eq).- Returns:
- a
ConditionalAccessStatus
-
getCorrelationId
Gets the correlationId property value. The request ID sent from the client when the sign-in is initiated. Used to troubleshoot sign-in activity. Supports $filter (eq).- Returns:
- a
String
-
getCreatedDateTime
Gets the createdDateTime property value. Date and time (UTC) the sign-in was initiated. Example: midnight on Jan 1, 2014 is reported as 2014-01-01T00:00:00Z. Supports $orderby, $filter (eq, le, and ge).- Returns:
- a
OffsetDateTime
-
getDeviceDetail
Gets the deviceDetail property value. Device information from where the sign-in occurred; includes device ID, operating system, and browser. Supports $filter (eq, startsWith) on browser and operatingSytem properties.- Returns:
- a
DeviceDetail
-
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model- Specified by:
getFieldDeserializersin interfacecom.microsoft.kiota.serialization.Parsable- Overrides:
getFieldDeserializersin classEntity- Returns:
- a
Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getIpAddress
Gets the ipAddress property value. IP address of the client used to sign in. Supports $filter (eq, startsWith).- Returns:
- a
String
-
getIsInteractive
Gets the isInteractive property value. Indicates whether a sign-in is interactive.- Returns:
- a
Boolean
-
getLocation
Gets the location property value. Provides the city, state, and country code where the sign-in originated. Supports $filter (eq, startsWith) on city, state, and countryOrRegion properties.- Returns:
- a
SignInLocation
-
getResourceDisplayName
Gets the resourceDisplayName property value. Name of the resource the user signed into. Supports $filter (eq).- Returns:
- a
String
-
getResourceId
Gets the resourceId property value. ID of the resource that the user signed into. Supports $filter (eq).- Returns:
- a
String
-
getRiskDetail
Gets the riskDetail property value. The reason behind a specific state of a risky user, sign-in, or a risk event. 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.The value none means that Microsoft Entra risk detection did not flag the user or the sign-in as a risky event so far. Supports $filter (eq). Note: Details for this property are only available for Microsoft Entra ID P2 customers. All other customers are returned hidden.- Returns:
- a
RiskDetail
-
getRiskEventTypes
Gets the riskEventTypes property value. The riskEventTypes property- Returns:
- a
List<RiskEventType>
-
getRiskEventTypesV2
Gets the riskEventTypes_v2 property value. The list of risk event types associated with the sign-in. Possible values: unlikelyTravel, anonymizedIPAddress, maliciousIPAddress, unfamiliarFeatures, malwareInfectedIPAddress, suspiciousIPAddress, leakedCredentials, investigationsThreatIntelligence, generic, or unknownFutureValue. Supports $filter (eq, startsWith). -
getRiskLevelAggregated
Gets the riskLevelAggregated property value. Aggregated risk level. The possible values are: none, low, medium, high, hidden, and unknownFutureValue. The value hidden means the user or sign-in wasn't enabled for Microsoft Entra ID Protection. Supports $filter (eq). Note: Details for this property are only available for Microsoft Entra ID P2 customers. All other customers are returned hidden.- Returns:
- a
RiskLevel
-
getRiskLevelDuringSignIn
Gets the riskLevelDuringSignIn property value. Risk level during sign-in. The possible values are: none, low, medium, high, hidden, and unknownFutureValue. The value hidden means the user or sign-in wasn't enabled for Microsoft Entra ID Protection. Supports $filter (eq). Note: Details for this property are only available for Microsoft Entra ID P2 customers. All other customers are returned hidden.- Returns:
- a
RiskLevel
-
getRiskState
Gets the riskState property value. Reports status of the risky user, sign-in, or a risk event. The possible values are: none, confirmedSafe, remediated, dismissed, atRisk, confirmedCompromised, unknownFutureValue. Supports $filter (eq).- Returns:
- a
RiskState
-
getStatus
Gets the status property value. Sign-in status. Includes the error code and description of the error (if a sign-in failure occurs). Supports $filter (eq) on errorCode property.- Returns:
- a
SignInStatus
-
getUserDisplayName
Gets the userDisplayName property value. Display name of the user that initiated the sign-in. Supports $filter (eq, startsWith).- Returns:
- a
String
-
getUserId
Gets the userId property value. ID of the user that initiated the sign-in. Supports $filter (eq).- Returns:
- a
String
-
getUserPrincipalName
Gets the userPrincipalName property value. User principal name of the user that initiated the sign-in. This value is always in lowercase. For guest users whose values in the user object typically contain #EXT# before the domain part, this property stores the value in both lowercase and the 'true' format. For example, while the user object stores AdeleVance_fabrikam.com#EXT#@contoso.com, the sign-in logs store adelevance@fabrikam.com. Supports $filter (eq, startsWith).- Returns:
- a
String
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setAppDisplayName
Sets the appDisplayName property value. App name displayed in the Microsoft Entra admin center. Supports $filter (eq, startsWith).- Parameters:
value- Value to set for the appDisplayName property.
-
setAppId
Sets the appId property value. Unique GUID that represents the app ID in the Microsoft Entra ID. Supports $filter (eq).- Parameters:
value- Value to set for the appId property.
-
setAppliedConditionalAccessPolicies
public void setAppliedConditionalAccessPolicies(@Nullable List<AppliedConditionalAccessPolicy> value) Sets the appliedConditionalAccessPolicies property value. Provides a list of conditional access policies that the corresponding sign-in activity triggers. Apps need more Conditional Access-related privileges to read the details of this property. For more information, see Permissions for viewing applied conditional access (CA) policies in sign-ins.- Parameters:
value- Value to set for the appliedConditionalAccessPolicies property.
-
setClientAppUsed
Sets the clientAppUsed property value. Identifies the client used for the sign-in activity. Modern authentication clients include Browser, modern clients. Legacy authentication clients include Exchange ActiveSync, IMAP, MAPI, SMTP, POP, and other clients. Supports $filter (eq).- Parameters:
value- Value to set for the clientAppUsed property.
-
setConditionalAccessStatus
Sets the conditionalAccessStatus property value. Reports status of an activated conditional access policy. Possible values are: success, failure, notApplied, and unknownFutureValue. Supports $filter (eq).- Parameters:
value- Value to set for the conditionalAccessStatus property.
-
setCorrelationId
Sets the correlationId property value. The request ID sent from the client when the sign-in is initiated. Used to troubleshoot sign-in activity. Supports $filter (eq).- Parameters:
value- Value to set for the correlationId property.
-
setCreatedDateTime
Sets the createdDateTime property value. Date and time (UTC) the sign-in was initiated. Example: midnight on Jan 1, 2014 is reported as 2014-01-01T00:00:00Z. Supports $orderby, $filter (eq, le, and ge).- Parameters:
value- Value to set for the createdDateTime property.
-
setDeviceDetail
Sets the deviceDetail property value. Device information from where the sign-in occurred; includes device ID, operating system, and browser. Supports $filter (eq, startsWith) on browser and operatingSytem properties.- Parameters:
value- Value to set for the deviceDetail property.
-
setIpAddress
Sets the ipAddress property value. IP address of the client used to sign in. Supports $filter (eq, startsWith).- Parameters:
value- Value to set for the ipAddress property.
-
setIsInteractive
Sets the isInteractive property value. Indicates whether a sign-in is interactive.- Parameters:
value- Value to set for the isInteractive property.
-
setLocation
Sets the location property value. Provides the city, state, and country code where the sign-in originated. Supports $filter (eq, startsWith) on city, state, and countryOrRegion properties.- Parameters:
value- Value to set for the location property.
-
setResourceDisplayName
Sets the resourceDisplayName property value. Name of the resource the user signed into. Supports $filter (eq).- Parameters:
value- Value to set for the resourceDisplayName property.
-
setResourceId
Sets the resourceId property value. ID of the resource that the user signed into. Supports $filter (eq).- Parameters:
value- Value to set for the resourceId property.
-
setRiskDetail
Sets the riskDetail property value. The reason behind a specific state of a risky user, sign-in, or a risk event. 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.The value none means that Microsoft Entra risk detection did not flag the user or the sign-in as a risky event so far. Supports $filter (eq). Note: Details for this property are only available for Microsoft Entra ID P2 customers. All other customers are returned hidden.- Parameters:
value- Value to set for the riskDetail property.
-
setRiskEventTypes
Sets the riskEventTypes property value. The riskEventTypes property- Parameters:
value- Value to set for the riskEventTypes property.
-
setRiskEventTypesV2
Sets the riskEventTypes_v2 property value. The list of risk event types associated with the sign-in. Possible values: unlikelyTravel, anonymizedIPAddress, maliciousIPAddress, unfamiliarFeatures, malwareInfectedIPAddress, suspiciousIPAddress, leakedCredentials, investigationsThreatIntelligence, generic, or unknownFutureValue. Supports $filter (eq, startsWith).- Parameters:
value- Value to set for the riskEventTypes_v2 property.
-
setRiskLevelAggregated
Sets the riskLevelAggregated property value. Aggregated risk level. The possible values are: none, low, medium, high, hidden, and unknownFutureValue. The value hidden means the user or sign-in wasn't enabled for Microsoft Entra ID Protection. Supports $filter (eq). Note: Details for this property are only available for Microsoft Entra ID P2 customers. All other customers are returned hidden.- Parameters:
value- Value to set for the riskLevelAggregated property.
-
setRiskLevelDuringSignIn
Sets the riskLevelDuringSignIn property value. Risk level during sign-in. The possible values are: none, low, medium, high, hidden, and unknownFutureValue. The value hidden means the user or sign-in wasn't enabled for Microsoft Entra ID Protection. Supports $filter (eq). Note: Details for this property are only available for Microsoft Entra ID P2 customers. All other customers are returned hidden.- Parameters:
value- Value to set for the riskLevelDuringSignIn property.
-
setRiskState
Sets the riskState property value. Reports status of the risky user, sign-in, or a risk event. The possible values are: none, confirmedSafe, remediated, dismissed, atRisk, confirmedCompromised, unknownFutureValue. Supports $filter (eq).- Parameters:
value- Value to set for the riskState property.
-
setStatus
Sets the status property value. Sign-in status. Includes the error code and description of the error (if a sign-in failure occurs). Supports $filter (eq) on errorCode property.- Parameters:
value- Value to set for the status property.
-
setUserDisplayName
Sets the userDisplayName property value. Display name of the user that initiated the sign-in. Supports $filter (eq, startsWith).- Parameters:
value- Value to set for the userDisplayName property.
-
setUserId
Sets the userId property value. ID of the user that initiated the sign-in. Supports $filter (eq).- Parameters:
value- Value to set for the userId property.
-
setUserPrincipalName
Sets the userPrincipalName property value. User principal name of the user that initiated the sign-in. This value is always in lowercase. For guest users whose values in the user object typically contain #EXT# before the domain part, this property stores the value in both lowercase and the 'true' format. For example, while the user object stores AdeleVance_fabrikam.com#EXT#@contoso.com, the sign-in logs store adelevance@fabrikam.com. Supports $filter (eq, startsWith).- Parameters:
value- Value to set for the userPrincipalName property.
-