Class IoTDeviceEvidence
java.lang.Object
com.microsoft.graph.models.security.AlertEvidence
com.microsoft.graph.models.security.IoTDeviceEvidence
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder,com.microsoft.kiota.serialization.Parsable,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class IoTDeviceEvidence
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 IoTDeviceEvidencecreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the deviceId property value.Gets the deviceName property value.Gets the devicePageLink property value.Gets the deviceSubType property value.Gets the deviceType property value.The deserialization information for the current modelGets the importance property value.Gets the ioTHub property value.Gets the ioTSecurityAgentId property value.Gets the ipAddress property value.Gets the isAuthorized property value.Gets the isProgramming property value.Gets the isScanner property value.Gets the macAddress property value.Gets the manufacturer property value.getModel()Gets the model property value.getNics()Gets the nics property value.Gets the operatingSystem property value.Gets the owners property value.Gets the protocols property value.Gets the purdueLayer property value.Gets the sensor property value.Gets the serialNumber property value.getSite()Gets the site property value.Gets the source property value.Gets the sourceRef property value.getZone()Gets the zone property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidsetDeviceId(String value) Sets the deviceId property value.voidsetDeviceName(String value) Sets the deviceName property value.voidsetDevicePageLink(String value) Sets the devicePageLink property value.voidsetDeviceSubType(String value) Sets the deviceSubType property value.voidsetDeviceType(String value) Sets the deviceType property value.voidSets the importance property value.voidsetIoTHub(AzureResourceEvidence value) Sets the ioTHub property value.voidsetIoTSecurityAgentId(String value) Sets the ioTSecurityAgentId property value.voidsetIpAddress(IpEvidence value) Sets the ipAddress property value.voidsetIsAuthorized(Boolean value) Sets the isAuthorized property value.voidsetIsProgramming(Boolean value) Sets the isProgramming property value.voidsetIsScanner(Boolean value) Sets the isScanner property value.voidsetMacAddress(String value) Sets the macAddress property value.voidsetManufacturer(String value) Sets the manufacturer property value.voidSets the model property value.voidsetNics(List<NicEvidence> value) Sets the nics property value.voidsetOperatingSystem(String value) Sets the operatingSystem property value.voidSets the owners property value.voidsetProtocols(List<String> value) Sets the protocols property value.voidsetPurdueLayer(String value) Sets the purdueLayer property value.voidSets the sensor property value.voidsetSerialNumber(String value) Sets the serialNumber property value.voidSets the site property value.voidSets the source property value.voidsetSourceRef(UrlEvidence value) Sets the sourceRef property value.voidSets the zone 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
-
IoTDeviceEvidence
public IoTDeviceEvidence()Instantiates a newIoTDeviceEvidenceand sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static IoTDeviceEvidence 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
IoTDeviceEvidence
-
getDeviceId
Gets the deviceId property value. The device ID.- Returns:
- a
String
-
getDeviceName
Gets the deviceName property value. The friendly name of the device.- Returns:
- a
String
-
getDevicePageLink
Gets the devicePageLink property value. The URL to the device page in the IoT Defender portal.- Returns:
- a
String
-
getDeviceSubType
Gets the deviceSubType property value. The device subtype.- Returns:
- a
String
-
getDeviceType
Gets the deviceType property value. The type of the device. For example, 'temperature sensor,' 'freezer,' 'wind turbine,' and so on.- 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>>
-
getImportance
Gets the importance property value. The importance level for the IoT device. Possible values are low, normal, high, and unknownFutureValue.- Returns:
- a
IoTDeviceImportanceType
-
getIoTHub
Gets the ioTHub property value. The azureResourceEvidence entity that represents the IoT Hub that the device belongs to.- Returns:
- a
AzureResourceEvidence
-
getIoTSecurityAgentId
Gets the ioTSecurityAgentId property value. The ID of the Azure Security Center for the IoT agent that is running on the device.- Returns:
- a
String
-
getIpAddress
Gets the ipAddress property value. The current IP address of the device.- Returns:
- a
IpEvidence
-
getIsAuthorized
Gets the isAuthorized property value. Indicates whether the device classified as an authorized device.- Returns:
- a
Boolean
-
getIsProgramming
Gets the isProgramming property value. Indicates whether the device classified as a programming device.- Returns:
- a
Boolean
-
getIsScanner
Gets the isScanner property value. Indicates whether the device classified as a scanner.- Returns:
- a
Boolean
-
getMacAddress
Gets the macAddress property value. The MAC address of the device.- Returns:
- a
String
-
getManufacturer
Gets the manufacturer property value. The manufacturer of the device.- Returns:
- a
String
-
getModel
Gets the model property value. The model of the device.- Returns:
- a
String
-
getNics
Gets the nics property value. The current network interface controllers on the device.- Returns:
- a
List<NicEvidence>
-
getOperatingSystem
Gets the operatingSystem property value. The operating system the device is running.- Returns:
- a
String
-
getOwners
Gets the owners property value. The owners for the device. -
getProtocols
Gets the protocols property value. The list of protocols that the device supports. -
getPurdueLayer
Gets the purdueLayer property value. The Purdue Layer of the device.- Returns:
- a
String
-
getSensor
Gets the sensor property value. The sensor that monitors the device.- Returns:
- a
String
-
getSerialNumber
Gets the serialNumber property value. The serial number of the device.- Returns:
- a
String
-
getSite
Gets the site property value. The site location of the device.- Returns:
- a
String
-
getSource
Gets the source property value. The source (microsoft/vendor) of the device entity.- Returns:
- a
String
-
getSourceRef
Gets the sourceRef property value. A URL reference to the source item where the device is managed.- Returns:
- a
UrlEvidence
-
getZone
Gets the zone property value. The zone location of the device within a site.- Returns:
- a
String
-
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
-
setDeviceId
Sets the deviceId property value. The device ID.- Parameters:
value- Value to set for the deviceId property.
-
setDeviceName
Sets the deviceName property value. The friendly name of the device.- Parameters:
value- Value to set for the deviceName property.
-
setDevicePageLink
Sets the devicePageLink property value. The URL to the device page in the IoT Defender portal.- Parameters:
value- Value to set for the devicePageLink property.
-
setDeviceSubType
Sets the deviceSubType property value. The device subtype.- Parameters:
value- Value to set for the deviceSubType property.
-
setDeviceType
Sets the deviceType property value. The type of the device. For example, 'temperature sensor,' 'freezer,' 'wind turbine,' and so on.- Parameters:
value- Value to set for the deviceType property.
-
setImportance
Sets the importance property value. The importance level for the IoT device. Possible values are low, normal, high, and unknownFutureValue.- Parameters:
value- Value to set for the importance property.
-
setIoTHub
Sets the ioTHub property value. The azureResourceEvidence entity that represents the IoT Hub that the device belongs to.- Parameters:
value- Value to set for the ioTHub property.
-
setIoTSecurityAgentId
Sets the ioTSecurityAgentId property value. The ID of the Azure Security Center for the IoT agent that is running on the device.- Parameters:
value- Value to set for the ioTSecurityAgentId property.
-
setIpAddress
Sets the ipAddress property value. The current IP address of the device.- Parameters:
value- Value to set for the ipAddress property.
-
setIsAuthorized
Sets the isAuthorized property value. Indicates whether the device classified as an authorized device.- Parameters:
value- Value to set for the isAuthorized property.
-
setIsProgramming
Sets the isProgramming property value. Indicates whether the device classified as a programming device.- Parameters:
value- Value to set for the isProgramming property.
-
setIsScanner
Sets the isScanner property value. Indicates whether the device classified as a scanner.- Parameters:
value- Value to set for the isScanner property.
-
setMacAddress
Sets the macAddress property value. The MAC address of the device.- Parameters:
value- Value to set for the macAddress property.
-
setManufacturer
Sets the manufacturer property value. The manufacturer of the device.- Parameters:
value- Value to set for the manufacturer property.
-
setModel
Sets the model property value. The model of the device.- Parameters:
value- Value to set for the model property.
-
setNics
Sets the nics property value. The current network interface controllers on the device.- Parameters:
value- Value to set for the nics property.
-
setOperatingSystem
Sets the operatingSystem property value. The operating system the device is running.- Parameters:
value- Value to set for the operatingSystem property.
-
setOwners
Sets the owners property value. The owners for the device.- Parameters:
value- Value to set for the owners property.
-
setProtocols
Sets the protocols property value. The list of protocols that the device supports.- Parameters:
value- Value to set for the protocols property.
-
setPurdueLayer
Sets the purdueLayer property value. The Purdue Layer of the device.- Parameters:
value- Value to set for the purdueLayer property.
-
setSensor
Sets the sensor property value. The sensor that monitors the device.- Parameters:
value- Value to set for the sensor property.
-
setSerialNumber
Sets the serialNumber property value. The serial number of the device.- Parameters:
value- Value to set for the serialNumber property.
-
setSite
Sets the site property value. The site location of the device.- Parameters:
value- Value to set for the site property.
-
setSource
Sets the source property value. The source (microsoft/vendor) of the device entity.- Parameters:
value- Value to set for the source property.
-
setSourceRef
Sets the sourceRef property value. A URL reference to the source item where the device is managed.- Parameters:
value- Value to set for the sourceRef property.
-
setZone
Sets the zone property value. The zone location of the device within a site.- Parameters:
value- Value to set for the zone property.
-