Class HostPort

java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.security.models.HostPort
All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject

public class HostPort extends Entity implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Host Port.
  • Field Details

    • banners

      @SerializedName(value="banners", alternate="Banners") @Expose @Nullable public List<HostPortBanner> banners
      The Banners. The hostPortBanners retrieved from scanning the port.
    • firstSeenDateTime

      @SerializedName(value="firstSeenDateTime", alternate="FirstSeenDateTime") @Expose @Nullable public OffsetDateTime firstSeenDateTime
      The First Seen Date Time. The first date and time when Microsoft Defender Threat Intelligence observed the hostPort. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014, is 2014-01-01T00:00:00Z.
    • lastScanDateTime

      @SerializedName(value="lastScanDateTime", alternate="LastScanDateTime") @Expose @Nullable public OffsetDateTime lastScanDateTime
      The Last Scan Date Time. The last date and time when Microsoft Defender Threat Intelligence scanned the hostPort. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014, is 2014-01-01T00:00:00Z.
    • lastSeenDateTime

      @SerializedName(value="lastSeenDateTime", alternate="LastSeenDateTime") @Expose @Nullable public OffsetDateTime lastSeenDateTime
      The Last Seen Date Time. The last date and time when Microsoft Defender Threat Intelligence observed the hostPort. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014, is 2014-01-01T00:00:00Z.
    • port

      @SerializedName(value="port", alternate="Port") @Expose @Nullable public Integer port
      The Port. The numerical identifier of the port which is standardized across the internet.
    • protocol

      @SerializedName(value="protocol", alternate="Protocol") @Expose @Nullable public HostPortProtocol protocol
      The Protocol. The general protocol used to scan the port. The possible values are: tcp, udp, unknownFutureValue.
    • services

      @SerializedName(value="services", alternate="Services") @Expose @Nullable public List<HostPortComponent> services
      The Services. The hostPortComponents retrieved from scanning the port.
    • status

      @SerializedName(value="status", alternate="Status") @Expose @Nullable public HostPortStatus status
      The Status. The status of the port. The possible values are: open, filtered, closed, unknownFutureValue.
    • timesObserved

      @SerializedName(value="timesObserved", alternate="TimesObserved") @Expose @Nullable public Integer timesObserved
      The Times Observed. The total amount of times that Microsoft Defender Threat Intelligence has observed the hostPort in all its scans.
    • host

      @SerializedName(value="host", alternate="Host") @Expose @Nullable public Host host
      The Host. The host related to this hostPort. This is a reverse navigation property. When you navigate to hostPorts from a host, assume that this is a return reference.
    • mostRecentSslCertificate

      @SerializedName(value="mostRecentSslCertificate", alternate="MostRecentSslCertificate") @Expose @Nullable public SslCertificate mostRecentSslCertificate
      The Most Recent Ssl Certificate. The most recent sslCertificate used to communicate on the port.
  • Constructor Details

    • HostPort

      public HostPort()
  • Method Details

    • setRawObject

      public void setRawObject(@Nonnull com.microsoft.graph.serializer.ISerializer serializer, @Nonnull com.google.gson.JsonObject json)
      Sets the raw JSON object
      Specified by:
      setRawObject in interface com.microsoft.graph.serializer.IJsonBackedObject
      Overrides:
      setRawObject in class Entity
      Parameters:
      serializer - the serializer
      json - the JSON object to set this object to