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

    • CloudLogonSessionEvidence

      public CloudLogonSessionEvidence()
      Instantiates a new CloudLogonSessionEvidence and 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

      @Nullable public UserEvidence getAccount()
      Gets the account property value. The account associated with the sign-in session.
      Returns:
      a UserEvidence
    • getBrowser

      @Nullable public String getBrowser()
      Gets the browser property value. The browser that is used for the sign-in, if known.
      Returns:
      a String
    • getDeviceName

      @Nullable public 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:
      getFieldDeserializers in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      getFieldDeserializers in class AlertEvidence
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getOperatingSystem

      @Nullable public String getOperatingSystem()
      Gets the operatingSystem property value. The operating system that the device is running, if known.
      Returns:
      a String
    • getPreviousLogonDateTime

      @Nullable public OffsetDateTime getPreviousLogonDateTime()
      Gets the previousLogonDateTime property value. The previous sign-in time for this account, if known.
      Returns:
      a OffsetDateTime
    • getProtocol

      @Nullable public String getProtocol()
      Gets the protocol property value. The authentication protocol that is used in this session, if known.
      Returns:
      a String
    • getSessionId

      @Nullable public String getSessionId()
      Gets the sessionId property value. The session ID for the account reported in the alert.
      Returns:
      a String
    • getStartUtcDateTime

      @Nullable public OffsetDateTime getStartUtcDateTime()
      Gets the startUtcDateTime property value. The session start time, if known.
      Returns:
      a OffsetDateTime
    • getUserAgent

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

      public void setAccount(@Nullable UserEvidence value)
      Sets the account property value. The account associated with the sign-in session.
      Parameters:
      value - Value to set for the account property.
    • setBrowser

      public void setBrowser(@Nullable String value)
      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

      public void setDeviceName(@Nullable String value)
      Sets the deviceName property value. The friendly name of the device, if known.
      Parameters:
      value - Value to set for the deviceName property.
    • setOperatingSystem

      public void setOperatingSystem(@Nullable String value)
      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

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

      public void setProtocol(@Nullable String value)
      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

      public void setSessionId(@Nullable String value)
      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

      public void setStartUtcDateTime(@Nullable OffsetDateTime value)
      Sets the startUtcDateTime property value. The session start time, if known.
      Parameters:
      value - Value to set for the startUtcDateTime property.
    • setUserAgent

      public void setUserAgent(@Nullable String value)
      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.