Class DnsEvidence

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

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

    • DnsEvidence

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

    • createFromDiscriminatorValue

      @Nonnull public static DnsEvidence 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 DnsEvidence
    • getDnsServerIp

      @Nullable public IpEvidence getDnsServerIp()
      Gets the dnsServerIp property value. The dnsServerIp property
      Returns:
      a IpEvidence
    • getDomainName

      @Nullable public String getDomainName()
      Gets the domainName property value. The domainName property
      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>>
    • getHostIpAddress

      @Nullable public IpEvidence getHostIpAddress()
      Gets the hostIpAddress property value. The hostIpAddress property
      Returns:
      a IpEvidence
    • getIpAddresses

      @Nullable public List<IpEvidence> getIpAddresses()
      Gets the ipAddresses property value. The ipAddresses property
      Returns:
      a List<IpEvidence>
    • 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
    • setDnsServerIp

      public void setDnsServerIp(@Nullable IpEvidence value)
      Sets the dnsServerIp property value. The dnsServerIp property
      Parameters:
      value - Value to set for the dnsServerIp property.
    • setDomainName

      public void setDomainName(@Nullable String value)
      Sets the domainName property value. The domainName property
      Parameters:
      value - Value to set for the domainName property.
    • setHostIpAddress

      public void setHostIpAddress(@Nullable IpEvidence value)
      Sets the hostIpAddress property value. The hostIpAddress property
      Parameters:
      value - Value to set for the hostIpAddress property.
    • setIpAddresses

      public void setIpAddresses(@Nullable List<IpEvidence> value)
      Sets the ipAddresses property value. The ipAddresses property
      Parameters:
      value - Value to set for the ipAddresses property.