All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable, com.microsoft.kiota.store.BackedModel
Direct Known Subclasses:
Hostname, IpAddress

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

    • Host

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

    • createFromDiscriminatorValue

      @Nonnull public static Host 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 Host
    • getChildHostPairs

      @Nullable public List<HostPair> getChildHostPairs()
      Gets the childHostPairs property value. The hostPairs that are resources associated with a host, where that host is the parentHost and has an outgoing pairing to a childHost.
      Returns:
      a List<HostPair>
    • getComponents

      @Nullable public List<HostComponent> getComponents()
      Gets the components property value. The hostComponents that are associated with this host.
      Returns:
      a List<HostComponent>
    • getCookies

      @Nullable public List<HostCookie> getCookies()
      Gets the cookies property value. The hostCookies that are associated with this host.
      Returns:
      a List<HostCookie>
    • 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 Artifact
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getFirstSeenDateTime

      @Nullable public OffsetDateTime getFirstSeenDateTime()
      Gets the firstSeenDateTime property value. The first date and time when this host was observed. 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.
      Returns:
      a OffsetDateTime
    • getHostPairs

      @Nullable public List<HostPair> getHostPairs()
      Gets the hostPairs property value. The hostPairs that are associated with this host, where this host is either the parentHost or childHost.
      Returns:
      a List<HostPair>
    • getLastSeenDateTime

      @Nullable public OffsetDateTime getLastSeenDateTime()
      Gets the lastSeenDateTime property value. The most recent date and time when this host was observed. 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.
      Returns:
      a OffsetDateTime
    • getParentHostPairs

      @Nullable public List<HostPair> getParentHostPairs()
      Gets the parentHostPairs property value. The hostPairs that are associated with a host, where that host is the childHost and has an incoming pairing with a parentHost.
      Returns:
      a List<HostPair>
    • getPassiveDns

      @Nullable public List<PassiveDnsRecord> getPassiveDns()
      Gets the passiveDns property value. Passive DNS retrieval about this host.
      Returns:
      a List<PassiveDnsRecord>
    • getPassiveDnsReverse

      @Nullable public List<PassiveDnsRecord> getPassiveDnsReverse()
      Gets the passiveDnsReverse property value. Reverse passive DNS retrieval about this host.
      Returns:
      a List<PassiveDnsRecord>
    • getPorts

      @Nullable public List<HostPort> getPorts()
      Gets the ports property value. The hostPorts associated with a host.
      Returns:
      a List<HostPort>
    • getReputation

      @Nullable public HostReputation getReputation()
      Gets the reputation property value. Represents a calculated reputation of this host.
      Returns:
      a HostReputation
    • getSslCertificates

      @Nullable public List<HostSslCertificate> getSslCertificates()
      Gets the sslCertificates property value. The hostSslCertificates that are associated with this host.
      Returns:
      a List<HostSslCertificate>
    • getSubdomains

      @Nullable public List<Subdomain> getSubdomains()
      Gets the subdomains property value. The subdomains that are associated with this host.
      Returns:
      a List<Subdomain>
    • getTrackers

      @Nullable public List<HostTracker> getTrackers()
      Gets the trackers property value. The hostTrackers that are associated with this host.
      Returns:
      a List<HostTracker>
    • getWhois

      @Nullable public WhoisRecord getWhois()
      Gets the whois property value. The most recent whoisRecord for this host.
      Returns:
      a WhoisRecord
    • 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 Artifact
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setChildHostPairs

      public void setChildHostPairs(@Nullable List<HostPair> value)
      Sets the childHostPairs property value. The hostPairs that are resources associated with a host, where that host is the parentHost and has an outgoing pairing to a childHost.
      Parameters:
      value - Value to set for the childHostPairs property.
    • setComponents

      public void setComponents(@Nullable List<HostComponent> value)
      Sets the components property value. The hostComponents that are associated with this host.
      Parameters:
      value - Value to set for the components property.
    • setCookies

      public void setCookies(@Nullable List<HostCookie> value)
      Sets the cookies property value. The hostCookies that are associated with this host.
      Parameters:
      value - Value to set for the cookies property.
    • setFirstSeenDateTime

      public void setFirstSeenDateTime(@Nullable OffsetDateTime value)
      Sets the firstSeenDateTime property value. The first date and time when this host was observed. 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.
      Parameters:
      value - Value to set for the firstSeenDateTime property.
    • setHostPairs

      public void setHostPairs(@Nullable List<HostPair> value)
      Sets the hostPairs property value. The hostPairs that are associated with this host, where this host is either the parentHost or childHost.
      Parameters:
      value - Value to set for the hostPairs property.
    • setLastSeenDateTime

      public void setLastSeenDateTime(@Nullable OffsetDateTime value)
      Sets the lastSeenDateTime property value. The most recent date and time when this host was observed. 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.
      Parameters:
      value - Value to set for the lastSeenDateTime property.
    • setParentHostPairs

      public void setParentHostPairs(@Nullable List<HostPair> value)
      Sets the parentHostPairs property value. The hostPairs that are associated with a host, where that host is the childHost and has an incoming pairing with a parentHost.
      Parameters:
      value - Value to set for the parentHostPairs property.
    • setPassiveDns

      public void setPassiveDns(@Nullable List<PassiveDnsRecord> value)
      Sets the passiveDns property value. Passive DNS retrieval about this host.
      Parameters:
      value - Value to set for the passiveDns property.
    • setPassiveDnsReverse

      public void setPassiveDnsReverse(@Nullable List<PassiveDnsRecord> value)
      Sets the passiveDnsReverse property value. Reverse passive DNS retrieval about this host.
      Parameters:
      value - Value to set for the passiveDnsReverse property.
    • setPorts

      public void setPorts(@Nullable List<HostPort> value)
      Sets the ports property value. The hostPorts associated with a host.
      Parameters:
      value - Value to set for the ports property.
    • setReputation

      public void setReputation(@Nullable HostReputation value)
      Sets the reputation property value. Represents a calculated reputation of this host.
      Parameters:
      value - Value to set for the reputation property.
    • setSslCertificates

      public void setSslCertificates(@Nullable List<HostSslCertificate> value)
      Sets the sslCertificates property value. The hostSslCertificates that are associated with this host.
      Parameters:
      value - Value to set for the sslCertificates property.
    • setSubdomains

      public void setSubdomains(@Nullable List<Subdomain> value)
      Sets the subdomains property value. The subdomains that are associated with this host.
      Parameters:
      value - Value to set for the subdomains property.
    • setTrackers

      public void setTrackers(@Nullable List<HostTracker> value)
      Sets the trackers property value. The hostTrackers that are associated with this host.
      Parameters:
      value - Value to set for the trackers property.
    • setWhois

      public void setWhois(@Nullable WhoisRecord value)
      Sets the whois property value. The most recent whoisRecord for this host.
      Parameters:
      value - Value to set for the whois property.