Class Host
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.security.Artifact
com.microsoft.graph.models.security.Host
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder,com.microsoft.kiota.serialization.Parsable,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class Host
extends Artifact
implements com.microsoft.kiota.serialization.Parsable
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic HostcreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the childHostPairs property value.Gets the components property value.Gets the cookies property value.The deserialization information for the current modelGets the firstSeenDateTime property value.Gets the hostPairs property value.Gets the lastSeenDateTime property value.Gets the parentHostPairs property value.Gets the passiveDns property value.Gets the passiveDnsReverse property value.getPorts()Gets the ports property value.Gets the reputation property value.Gets the sslCertificates property value.Gets the subdomains property value.Gets the trackers property value.getWhois()Gets the whois property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidsetChildHostPairs(List<HostPair> value) Sets the childHostPairs property value.voidsetComponents(List<HostComponent> value) Sets the components property value.voidsetCookies(List<HostCookie> value) Sets the cookies property value.voidSets the firstSeenDateTime property value.voidsetHostPairs(List<HostPair> value) Sets the hostPairs property value.voidSets the lastSeenDateTime property value.voidsetParentHostPairs(List<HostPair> value) Sets the parentHostPairs property value.voidsetPassiveDns(List<PassiveDnsRecord> value) Sets the passiveDns property value.voidsetPassiveDnsReverse(List<PassiveDnsRecord> value) Sets the passiveDnsReverse property value.voidSets the ports property value.voidsetReputation(HostReputation value) Sets the reputation property value.voidsetSslCertificates(List<HostSslCertificate> value) Sets the sslCertificates property value.voidsetSubdomains(List<Subdomain> value) Sets the subdomains property value.voidsetTrackers(List<HostTracker> value) Sets the trackers property value.voidsetWhois(WhoisRecord value) Sets the whois property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
Host
public Host()Instantiates a newHostand 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
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. -
getComponents
Gets the components property value. The hostComponents that are associated with this host.- Returns:
- a
List<HostComponent>
-
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:
getFieldDeserializersin interfacecom.microsoft.kiota.serialization.Parsable- Overrides:
getFieldDeserializersin classArtifact- Returns:
- a
Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
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
Gets the hostPairs property value. The hostPairs that are associated with this host, where this host is either the parentHost or childHost. -
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
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. -
getPassiveDns
Gets the passiveDns property value. Passive DNS retrieval about this host.- Returns:
- a
List<PassiveDnsRecord>
-
getPassiveDnsReverse
Gets the passiveDnsReverse property value. Reverse passive DNS retrieval about this host.- Returns:
- a
List<PassiveDnsRecord>
-
getPorts
Gets the ports property value. The hostPorts associated with a host. -
getReputation
Gets the reputation property value. Represents a calculated reputation of this host.- Returns:
- a
HostReputation
-
getSslCertificates
Gets the sslCertificates property value. The hostSslCertificates that are associated with this host.- Returns:
- a
List<HostSslCertificate>
-
getSubdomains
Gets the subdomains property value. The subdomains that are associated with this host. -
getTrackers
Gets the trackers property value. The hostTrackers that are associated with this host.- Returns:
- a
List<HostTracker>
-
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 -
setChildHostPairs
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
Sets the components property value. The hostComponents that are associated with this host.- Parameters:
value- Value to set for the components property.
-
setCookies
Sets the cookies property value. The hostCookies that are associated with this host.- Parameters:
value- Value to set for the cookies property.
-
setFirstSeenDateTime
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
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
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
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
Sets the passiveDns property value. Passive DNS retrieval about this host.- Parameters:
value- Value to set for the passiveDns property.
-
setPassiveDnsReverse
Sets the passiveDnsReverse property value. Reverse passive DNS retrieval about this host.- Parameters:
value- Value to set for the passiveDnsReverse property.
-
setPorts
Sets the ports property value. The hostPorts associated with a host.- Parameters:
value- Value to set for the ports property.
-
setReputation
Sets the reputation property value. Represents a calculated reputation of this host.- Parameters:
value- Value to set for the reputation property.
-
setSslCertificates
Sets the sslCertificates property value. The hostSslCertificates that are associated with this host.- Parameters:
value- Value to set for the sslCertificates property.
-
setSubdomains
Sets the subdomains property value. The subdomains that are associated with this host.- Parameters:
value- Value to set for the subdomains property.
-
setTrackers
Sets the trackers property value. The hostTrackers that are associated with this host.- Parameters:
value- Value to set for the trackers property.
-
setWhois
Sets the whois property value. The most recent whoisRecord for this host.- Parameters:
value- Value to set for the whois property.
-