Class HostLogonSessionEvidence

java.lang.Object
com.microsoft.graph.models.security.AlertEvidence
com.microsoft.graph.models.security.HostLogonSessionEvidence
All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable, com.microsoft.kiota.store.BackedModel

@Generated("com.microsoft.kiota") public class HostLogonSessionEvidence extends AlertEvidence implements com.microsoft.kiota.serialization.Parsable
  • Constructor Details

    • HostLogonSessionEvidence

      public HostLogonSessionEvidence()
      Instantiates a new HostLogonSessionEvidence and sets the default values.
  • Method Details

    • createFromDiscriminatorValue

      @Nonnull public static HostLogonSessionEvidence 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 HostLogonSessionEvidence
    • getAccount

      @Nullable public UserEvidence getAccount()
      Gets the account property value. The account property
      Returns:
      a UserEvidence
    • getEndUtcDateTime

      @Nullable public OffsetDateTime getEndUtcDateTime()
      Gets the endUtcDateTime property value. The endUtcDateTime property
      Returns:
      a OffsetDateTime
    • 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>>
    • getHost

      @Nullable public DeviceEvidence getHost()
      Gets the host property value. The host property
      Returns:
      a DeviceEvidence
    • getSessionId

      @Nullable public String getSessionId()
      Gets the sessionId property value. The sessionId property
      Returns:
      a String
    • getStartUtcDateTime

      @Nullable public OffsetDateTime getStartUtcDateTime()
      Gets the startUtcDateTime property value. The startUtcDateTime property
      Returns:
      a OffsetDateTime
    • 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 property
      Parameters:
      value - Value to set for the account property.
    • setEndUtcDateTime

      public void setEndUtcDateTime(@Nullable OffsetDateTime value)
      Sets the endUtcDateTime property value. The endUtcDateTime property
      Parameters:
      value - Value to set for the endUtcDateTime property.
    • setHost

      public void setHost(@Nullable DeviceEvidence value)
      Sets the host property value. The host property
      Parameters:
      value - Value to set for the host property.
    • setSessionId

      public void setSessionId(@Nullable String value)
      Sets the sessionId property value. The sessionId property
      Parameters:
      value - Value to set for the sessionId property.
    • setStartUtcDateTime

      public void setStartUtcDateTime(@Nullable OffsetDateTime value)
      Sets the startUtcDateTime property value. The startUtcDateTime property
      Parameters:
      value - Value to set for the startUtcDateTime property.