Class IpEvidence
java.lang.Object
com.microsoft.graph.models.security.AlertEvidence
com.microsoft.graph.models.security.IpEvidence
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder,com.microsoft.kiota.serialization.Parsable,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class IpEvidence
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 IpEvidencecreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the countryLetterCode property value.The deserialization information for the current modelGets the ipAddress property value.Gets the location property value.Gets the stream property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidsetCountryLetterCode(String value) Sets the countryLetterCode property value.voidsetIpAddress(String value) Sets the ipAddress property value.voidsetLocation(GeoLocation value) Sets the location property value.voidSets the stream 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
-
IpEvidence
public IpEvidence()Instantiates a newIpEvidenceand sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static IpEvidence 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
IpEvidence
-
getCountryLetterCode
Gets the countryLetterCode property value. The two-letter country code according to ISO 3166 format, for example: US, UK, CA, etc.- Returns:
- a
String
-
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>>
-
getIpAddress
Gets the ipAddress property value. The value of the IP Address, can be either in V4 address or V6 address format.- Returns:
- a
String
-
getLocation
Gets the location property value. The location property- Returns:
- a
GeoLocation
-
getStream
Gets the stream property value. The stream property- Returns:
- a
Stream
-
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
-
setCountryLetterCode
Sets the countryLetterCode property value. The two-letter country code according to ISO 3166 format, for example: US, UK, CA, etc.- Parameters:
value- Value to set for the countryLetterCode property.
-
setIpAddress
Sets the ipAddress property value. The value of the IP Address, can be either in V4 address or V6 address format.- Parameters:
value- Value to set for the ipAddress property.
-
setLocation
Sets the location property value. The location property- Parameters:
value- Value to set for the location property.
-
setStream
Sets the stream property value. The stream property- Parameters:
value- Value to set for the stream property.
-