Package com.microsoft.graph.models
Class UserSecurityState
java.lang.Object
com.microsoft.graph.models.UserSecurityState
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder,com.microsoft.kiota.serialization.Parsable,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class UserSecurityState
extends Object
implements com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.store.BackedModel, com.microsoft.kiota.serialization.Parsable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected com.microsoft.kiota.store.BackingStoreStores model information. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic UserSecurityStatecreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the aadUserId property value.Gets the accountName property value.Gets the AdditionalData property value.com.microsoft.kiota.store.BackingStoreGets the backingStore property value.Gets the domainName property value.Gets the emailRole property value.The deserialization information for the current modelgetIsVpn()Gets the isVpn property value.Gets the logonDateTime property value.Gets the logonId property value.Gets the logonIp property value.Gets the logonLocation property value.Gets the logonType property value.Gets the @odata.type property value.Gets the onPremisesSecurityIdentifier property value.Gets the riskScore property value.Gets the userAccountType property value.Gets the userPrincipalName property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidsetAadUserId(String value) Sets the aadUserId property value.voidsetAccountName(String value) Sets the accountName property value.voidsetAdditionalData(Map<String, Object> value) Sets the AdditionalData property value.voidsetBackingStore(com.microsoft.kiota.store.BackingStore value) Sets the backingStore property value.voidsetDomainName(String value) Sets the domainName property value.voidsetEmailRole(EmailRole value) Sets the emailRole property value.voidSets the isVpn property value.voidsetLogonDateTime(OffsetDateTime value) Sets the logonDateTime property value.voidsetLogonId(String value) Sets the logonId property value.voidsetLogonIp(String value) Sets the logonIp property value.voidsetLogonLocation(String value) Sets the logonLocation property value.voidsetLogonType(LogonType value) Sets the logonType property value.voidsetOdataType(String value) Sets the @odata.type property value.voidSets the onPremisesSecurityIdentifier property value.voidsetRiskScore(String value) Sets the riskScore property value.voidSets the userAccountType property value.voidsetUserPrincipalName(String value) Sets the userPrincipalName property value.
-
Field Details
-
backingStore
@Nonnull protected com.microsoft.kiota.store.BackingStore backingStoreStores model information.
-
-
Constructor Details
-
UserSecurityState
public UserSecurityState()Instantiates a newUserSecurityStateand sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static UserSecurityState 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
UserSecurityState
-
getAadUserId
Gets the aadUserId property value. AAD User object identifier (GUID) - represents the physical/multi-account user entity.- Returns:
- a
String
-
getAccountName
Gets the accountName property value. Account name of user account (without Active Directory domain or DNS domain) - (also called mailNickName).- Returns:
- a
String
-
getAdditionalData
Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. -
getBackingStore
@Nonnull public com.microsoft.kiota.store.BackingStore getBackingStore()Gets the backingStore property value. Stores model information.- Specified by:
getBackingStorein interfacecom.microsoft.kiota.store.BackedModel- Returns:
- a
BackingStore
-
getDomainName
Gets the domainName property value. NetBIOS/Active Directory domain of user account (that is, domain/account format).- Returns:
- a
String
-
getEmailRole
Gets the emailRole property value. For email-related alerts - user account's email 'role'. Possible values are: unknown, sender, recipient.- Returns:
- a
EmailRole
-
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model -
getIsVpn
Gets the isVpn property value. Indicates whether the user logged on through a VPN.- Returns:
- a
Boolean
-
getLogonDateTime
Gets the logonDateTime property value. Time at which the sign-in occurred. The Timestamp 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
-
getLogonId
Gets the logonId property value. User sign-in ID.- Returns:
- a
String
-
getLogonIp
Gets the logonIp property value. IP Address the sign-in request originated from.- Returns:
- a
String
-
getLogonLocation
Gets the logonLocation property value. Location (by IP address mapping) associated with a user sign-in event by this user.- Returns:
- a
String
-
getLogonType
Gets the logonType property value. Method of user sign in. Possible values are: unknown, interactive, remoteInteractive, network, batch, service.- Returns:
- a
LogonType
-
getOdataType
Gets the @odata.type property value. The OdataType property- Returns:
- a
String
-
getOnPremisesSecurityIdentifier
Gets the onPremisesSecurityIdentifier property value. Active Directory (on-premises) Security Identifier (SID) of the user.- Returns:
- a
String
-
getRiskScore
Gets the riskScore property value. Provider-generated/calculated risk score of the user account. Recommended value range of 0-1, which equates to a percentage.- Returns:
- a
String
-
getUserAccountType
Gets the userAccountType property value. User account type (group membership), per Windows definition. Possible values are: unknown, standard, power, administrator.- Returns:
- a
UserAccountSecurityType
-
getUserPrincipalName
Gets the userPrincipalName property value. User sign-in name - internet format: (user account name)@(user account DNS domain name).- Returns:
- a
String
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object- Specified by:
serializein interfacecom.microsoft.kiota.serialization.Parsable- Parameters:
writer- Serialization writer to use to serialize this model
-
setAadUserId
Sets the aadUserId property value. AAD User object identifier (GUID) - represents the physical/multi-account user entity.- Parameters:
value- Value to set for the aadUserId property.
-
setAccountName
Sets the accountName property value. Account name of user account (without Active Directory domain or DNS domain) - (also called mailNickName).- Parameters:
value- Value to set for the accountName property.
-
setAdditionalData
Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.- Parameters:
value- Value to set for the AdditionalData property.
-
setBackingStore
public void setBackingStore(@Nonnull com.microsoft.kiota.store.BackingStore value) Sets the backingStore property value. Stores model information.- Parameters:
value- Value to set for the backingStore property.
-
setDomainName
Sets the domainName property value. NetBIOS/Active Directory domain of user account (that is, domain/account format).- Parameters:
value- Value to set for the domainName property.
-
setEmailRole
Sets the emailRole property value. For email-related alerts - user account's email 'role'. Possible values are: unknown, sender, recipient.- Parameters:
value- Value to set for the emailRole property.
-
setIsVpn
Sets the isVpn property value. Indicates whether the user logged on through a VPN.- Parameters:
value- Value to set for the isVpn property.
-
setLogonDateTime
Sets the logonDateTime property value. Time at which the sign-in occurred. The Timestamp 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 logonDateTime property.
-
setLogonId
Sets the logonId property value. User sign-in ID.- Parameters:
value- Value to set for the logonId property.
-
setLogonIp
Sets the logonIp property value. IP Address the sign-in request originated from.- Parameters:
value- Value to set for the logonIp property.
-
setLogonLocation
Sets the logonLocation property value. Location (by IP address mapping) associated with a user sign-in event by this user.- Parameters:
value- Value to set for the logonLocation property.
-
setLogonType
Sets the logonType property value. Method of user sign in. Possible values are: unknown, interactive, remoteInteractive, network, batch, service.- Parameters:
value- Value to set for the logonType property.
-
setOdataType
Sets the @odata.type property value. The OdataType property- Parameters:
value- Value to set for the @odata.type property.
-
setOnPremisesSecurityIdentifier
Sets the onPremisesSecurityIdentifier property value. Active Directory (on-premises) Security Identifier (SID) of the user.- Parameters:
value- Value to set for the onPremisesSecurityIdentifier property.
-
setRiskScore
Sets the riskScore property value. Provider-generated/calculated risk score of the user account. Recommended value range of 0-1, which equates to a percentage.- Parameters:
value- Value to set for the riskScore property.
-
setUserAccountType
Sets the userAccountType property value. User account type (group membership), per Windows definition. Possible values are: unknown, standard, power, administrator.- Parameters:
value- Value to set for the userAccountType property.
-
setUserPrincipalName
Sets the userPrincipalName property value. User sign-in name - internet format: (user account name)@(user account DNS domain name).- Parameters:
value- Value to set for the userPrincipalName property.
-