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
-
Field Summary
Fields inherited from class com.microsoft.graph.models.security.AlertEvidence
backingStore -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic NetworkConnectionEvidencecreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the destinationAddress property value.Gets the destinationPort property value.The deserialization information for the current modelGets the protocol property value.Gets the sourceAddress property value.Gets the sourcePort property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidsetDestinationAddress(IpEvidence value) Sets the destinationAddress property value.voidsetDestinationPort(Integer value) Sets the destinationPort property value.voidsetProtocol(ProtocolType value) Sets the protocol property value.voidsetSourceAddress(IpEvidence value) Sets the sourceAddress property value.voidsetSourcePort(Integer value) Sets the sourcePort property value.Methods inherited from class com.microsoft.graph.models.security.AlertEvidence
getAdditionalData, getBackingStore, getCreatedDateTime, getDetailedRoles, getOdataType, getRemediationStatus, getRemediationStatusDetails, getRoles, getTags, getVerdict, setAdditionalData, setBackingStore, setCreatedDateTime, setDetailedRoles, setOdataType, setRemediationStatus, setRemediationStatusDetails, setRoles, setTags, setVerdict
-
Constructor Details
-
NetworkConnectionEvidence
public NetworkConnectionEvidence()Instantiates a newNetworkConnectionEvidenceand 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
Gets the destinationAddress property value. The destinationAddress property- Returns:
- a
IpEvidence
-
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:
getFieldDeserializersin interfacecom.microsoft.kiota.serialization.Parsable- Overrides:
getFieldDeserializersin classAlertEvidence- Returns:
- a
Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getProtocol
Gets the protocol property value. The protocol property- Returns:
- a
ProtocolType
-
getSourceAddress
Gets the sourceAddress property value. The sourceAddress property- Returns:
- a
IpEvidence
-
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:
serializein interfacecom.microsoft.kiota.serialization.Parsable- Overrides:
serializein classAlertEvidence- Parameters:
writer- Serialization writer to use to serialize this model
-
setDestinationAddress
Sets the destinationAddress property value. The destinationAddress property- Parameters:
value- Value to set for the destinationAddress property.
-
setDestinationPort
Sets the destinationPort property value. The destinationPort property- Parameters:
value- Value to set for the destinationPort property.
-
setProtocol
Sets the protocol property value. The protocol property- Parameters:
value- Value to set for the protocol property.
-
setSourceAddress
Sets the sourceAddress property value. The sourceAddress property- Parameters:
value- Value to set for the sourceAddress property.
-
setSourcePort
Sets the sourcePort property value. The sourcePort property- Parameters:
value- Value to set for the sourcePort property.
-