Class NetworkConnectionEvidence

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

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

    • NetworkConnectionEvidence

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

    • createFromDiscriminatorValue

      @Nonnull public static NetworkConnectionEvidence 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 NetworkConnectionEvidence
    • getDestinationAddress

      @Nullable public IpEvidence getDestinationAddress()
      Gets the destinationAddress property value. The destinationAddress property
      Returns:
      a IpEvidence
    • getDestinationPort

      @Nullable public Integer getDestinationPort()
      Gets the destinationPort property value. The destinationPort property
      Returns:
      a Integer
    • 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>>
    • getProtocol

      @Nullable public ProtocolType getProtocol()
      Gets the protocol property value. The protocol property
      Returns:
      a ProtocolType
    • getSourceAddress

      @Nullable public IpEvidence getSourceAddress()
      Gets the sourceAddress property value. The sourceAddress property
      Returns:
      a IpEvidence
    • getSourcePort

      @Nullable public Integer getSourcePort()
      Gets the sourcePort property value. The sourcePort property
      Returns:
      a Integer
    • 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
    • setDestinationAddress

      public void setDestinationAddress(@Nullable IpEvidence value)
      Sets the destinationAddress property value. The destinationAddress property
      Parameters:
      value - Value to set for the destinationAddress property.
    • setDestinationPort

      public void setDestinationPort(@Nullable Integer value)
      Sets the destinationPort property value. The destinationPort property
      Parameters:
      value - Value to set for the destinationPort property.
    • setProtocol

      public void setProtocol(@Nullable ProtocolType value)
      Sets the protocol property value. The protocol property
      Parameters:
      value - Value to set for the protocol property.
    • setSourceAddress

      public void setSourceAddress(@Nullable IpEvidence value)
      Sets the sourceAddress property value. The sourceAddress property
      Parameters:
      value - Value to set for the sourceAddress property.
    • setSourcePort

      public void setSourcePort(@Nullable Integer value)
      Sets the sourcePort property value. The sourcePort property
      Parameters:
      value - Value to set for the sourcePort property.