Class CloudLogonSessionEvidence
java.lang.Object
com.microsoft.graph.models.security.AlertEvidence
com.microsoft.graph.models.security.CloudLogonSessionEvidence
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder,com.microsoft.kiota.serialization.Parsable,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class CloudLogonSessionEvidence
extends AlertEvidence
implements com.microsoft.kiota.serialization.Parsable
-
Field Summary
Fields inherited from class com.microsoft.graph.models.security.AlertEvidence
backingStore -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CloudLogonSessionEvidencecreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the account property value.Gets the browser property value.Gets the deviceName property value.The deserialization information for the current modelGets the operatingSystem property value.Gets the previousLogonDateTime property value.Gets the protocol property value.Gets the sessionId property value.Gets the startUtcDateTime property value.Gets the userAgent property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidsetAccount(UserEvidence value) Sets the account property value.voidsetBrowser(String value) Sets the browser property value.voidsetDeviceName(String value) Sets the deviceName property value.voidsetOperatingSystem(String value) Sets the operatingSystem property value.voidSets the previousLogonDateTime property value.voidsetProtocol(String value) Sets the protocol property value.voidsetSessionId(String value) Sets the sessionId property value.voidSets the startUtcDateTime property value.voidsetUserAgent(String value) Sets the userAgent property value.Methods inherited from class com.microsoft.graph.models.security.AlertEvidence
getAdditionalData, getBackingStore, getCreatedDateTime, getDetailedRoles, getOdataType, getRemediationStatus, getRemediationStatusDetails, getRoles, getTags, getVerdict, setAdditionalData, setBackingStore, setCreatedDateTime, setDetailedRoles, setOdataType, setRemediationStatus, setRemediationStatusDetails, setRoles, setTags, setVerdict
-
Constructor Details
-
CloudLogonSessionEvidence
public CloudLogonSessionEvidence()Instantiates a newCloudLogonSessionEvidenceand sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static CloudLogonSessionEvidence 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
CloudLogonSessionEvidence
-
getAccount
Gets the account property value. The account associated with the sign-in session.- Returns:
- a
UserEvidence
-
getBrowser
Gets the browser property value. The browser that is used for the sign-in, if known.- Returns:
- a
String
-
getDeviceName
Gets the deviceName property value. The friendly name of the device, if known.- Returns:
- a
String
-
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 classAlertEvidence- Returns:
- a
Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getOperatingSystem
Gets the operatingSystem property value. The operating system that the device is running, if known.- Returns:
- a
String
-
getPreviousLogonDateTime
Gets the previousLogonDateTime property value. The previous sign-in time for this account, if known.- Returns:
- a
OffsetDateTime
-
getProtocol
Gets the protocol property value. The authentication protocol that is used in this session, if known.- Returns:
- a
String
-
getSessionId
Gets the sessionId property value. The session ID for the account reported in the alert.- Returns:
- a
String
-
getStartUtcDateTime
Gets the startUtcDateTime property value. The session start time, if known.- Returns:
- a
OffsetDateTime
-
getUserAgent
Gets the userAgent property value. The user agent that is used for the sign-in, if known.- 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- Overrides:
serializein classAlertEvidence- Parameters:
writer- Serialization writer to use to serialize this model
-
setAccount
Sets the account property value. The account associated with the sign-in session.- Parameters:
value- Value to set for the account property.
-
setBrowser
Sets the browser property value. The browser that is used for the sign-in, if known.- Parameters:
value- Value to set for the browser property.
-
setDeviceName
Sets the deviceName property value. The friendly name of the device, if known.- Parameters:
value- Value to set for the deviceName property.
-
setOperatingSystem
Sets the operatingSystem property value. The operating system that the device is running, if known.- Parameters:
value- Value to set for the operatingSystem property.
-
setPreviousLogonDateTime
Sets the previousLogonDateTime property value. The previous sign-in time for this account, if known.- Parameters:
value- Value to set for the previousLogonDateTime property.
-
setProtocol
Sets the protocol property value. The authentication protocol that is used in this session, if known.- Parameters:
value- Value to set for the protocol property.
-
setSessionId
Sets the sessionId property value. The session ID for the account reported in the alert.- Parameters:
value- Value to set for the sessionId property.
-
setStartUtcDateTime
Sets the startUtcDateTime property value. The session start time, if known.- Parameters:
value- Value to set for the startUtcDateTime property.
-
setUserAgent
Sets the userAgent property value. The user agent that is used for the sign-in, if known.- Parameters:
value- Value to set for the userAgent property.
-