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
  • Constructor Details

    • IoTDeviceEvidence

      public IoTDeviceEvidence()
      Instantiates a new IoTDeviceEvidence and 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

      @Nullable public String getDeviceId()
      Gets the deviceId property value. The device ID.
      Returns:
      a String
    • getDeviceName

      @Nullable public String getDeviceName()
      Gets the deviceName property value. The friendly name of the device.
      Returns:
      a String
    • getDevicePageLink

      @Nullable public String getDevicePageLink()
      Gets the devicePageLink property value. The URL to the device page in the IoT Defender portal.
      Returns:
      a String
    • getDeviceSubType

      @Nullable public String getDeviceSubType()
      Gets the deviceSubType property value. The device subtype.
      Returns:
      a String
    • getDeviceType

      @Nullable public 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:
      getFieldDeserializers in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      getFieldDeserializers in class AlertEvidence
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getImportance

      @Nullable public IoTDeviceImportanceType 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

      @Nullable public AzureResourceEvidence getIoTHub()
      Gets the ioTHub property value. The azureResourceEvidence entity that represents the IoT Hub that the device belongs to.
      Returns:
      a AzureResourceEvidence
    • getIoTSecurityAgentId

      @Nullable public String 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

      @Nullable public IpEvidence getIpAddress()
      Gets the ipAddress property value. The current IP address of the device.
      Returns:
      a IpEvidence
    • getIsAuthorized

      @Nullable public Boolean getIsAuthorized()
      Gets the isAuthorized property value. Indicates whether the device classified as an authorized device.
      Returns:
      a Boolean
    • getIsProgramming

      @Nullable public Boolean getIsProgramming()
      Gets the isProgramming property value. Indicates whether the device classified as a programming device.
      Returns:
      a Boolean
    • getIsScanner

      @Nullable public Boolean getIsScanner()
      Gets the isScanner property value. Indicates whether the device classified as a scanner.
      Returns:
      a Boolean
    • getMacAddress

      @Nullable public String getMacAddress()
      Gets the macAddress property value. The MAC address of the device.
      Returns:
      a String
    • getManufacturer

      @Nullable public String getManufacturer()
      Gets the manufacturer property value. The manufacturer of the device.
      Returns:
      a String
    • getModel

      @Nullable public String getModel()
      Gets the model property value. The model of the device.
      Returns:
      a String
    • getNics

      @Nullable public List<NicEvidence> getNics()
      Gets the nics property value. The current network interface controllers on the device.
      Returns:
      a List<NicEvidence>
    • getOperatingSystem

      @Nullable public String getOperatingSystem()
      Gets the operatingSystem property value. The operating system the device is running.
      Returns:
      a String
    • getOwners

      @Nullable public List<String> getOwners()
      Gets the owners property value. The owners for the device.
      Returns:
      a List<String>
    • getProtocols

      @Nullable public List<String> getProtocols()
      Gets the protocols property value. The list of protocols that the device supports.
      Returns:
      a List<String>
    • getPurdueLayer

      @Nullable public String getPurdueLayer()
      Gets the purdueLayer property value. The Purdue Layer of the device.
      Returns:
      a String
    • getSensor

      @Nullable public String getSensor()
      Gets the sensor property value. The sensor that monitors the device.
      Returns:
      a String
    • getSerialNumber

      @Nullable public String getSerialNumber()
      Gets the serialNumber property value. The serial number of the device.
      Returns:
      a String
    • getSite

      @Nullable public String getSite()
      Gets the site property value. The site location of the device.
      Returns:
      a String
    • getSource

      @Nullable public String getSource()
      Gets the source property value. The source (microsoft/vendor) of the device entity.
      Returns:
      a String
    • getSourceRef

      @Nullable public UrlEvidence getSourceRef()
      Gets the sourceRef property value. A URL reference to the source item where the device is managed.
      Returns:
      a UrlEvidence
    • getZone

      @Nullable public String 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:
      serialize in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      serialize in class AlertEvidence
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setDeviceId

      public void setDeviceId(@Nullable String value)
      Sets the deviceId property value. The device ID.
      Parameters:
      value - Value to set for the deviceId property.
    • setDeviceName

      public void setDeviceName(@Nullable String value)
      Sets the deviceName property value. The friendly name of the device.
      Parameters:
      value - Value to set for the deviceName property.
    • setDevicePageLink

      public void setDevicePageLink(@Nullable String value)
      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

      public void setDeviceSubType(@Nullable String value)
      Sets the deviceSubType property value. The device subtype.
      Parameters:
      value - Value to set for the deviceSubType property.
    • setDeviceType

      public void setDeviceType(@Nullable String value)
      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

      public void setImportance(@Nullable IoTDeviceImportanceType value)
      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

      public void setIoTHub(@Nullable AzureResourceEvidence value)
      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

      public void setIoTSecurityAgentId(@Nullable String value)
      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

      public void setIpAddress(@Nullable IpEvidence value)
      Sets the ipAddress property value. The current IP address of the device.
      Parameters:
      value - Value to set for the ipAddress property.
    • setIsAuthorized

      public void setIsAuthorized(@Nullable Boolean value)
      Sets the isAuthorized property value. Indicates whether the device classified as an authorized device.
      Parameters:
      value - Value to set for the isAuthorized property.
    • setIsProgramming

      public void setIsProgramming(@Nullable Boolean value)
      Sets the isProgramming property value. Indicates whether the device classified as a programming device.
      Parameters:
      value - Value to set for the isProgramming property.
    • setIsScanner

      public void setIsScanner(@Nullable Boolean value)
      Sets the isScanner property value. Indicates whether the device classified as a scanner.
      Parameters:
      value - Value to set for the isScanner property.
    • setMacAddress

      public void setMacAddress(@Nullable String value)
      Sets the macAddress property value. The MAC address of the device.
      Parameters:
      value - Value to set for the macAddress property.
    • setManufacturer

      public void setManufacturer(@Nullable String value)
      Sets the manufacturer property value. The manufacturer of the device.
      Parameters:
      value - Value to set for the manufacturer property.
    • setModel

      public void setModel(@Nullable String value)
      Sets the model property value. The model of the device.
      Parameters:
      value - Value to set for the model property.
    • setNics

      public void setNics(@Nullable List<NicEvidence> value)
      Sets the nics property value. The current network interface controllers on the device.
      Parameters:
      value - Value to set for the nics property.
    • setOperatingSystem

      public void setOperatingSystem(@Nullable String value)
      Sets the operatingSystem property value. The operating system the device is running.
      Parameters:
      value - Value to set for the operatingSystem property.
    • setOwners

      public void setOwners(@Nullable List<String> value)
      Sets the owners property value. The owners for the device.
      Parameters:
      value - Value to set for the owners property.
    • setProtocols

      public void setProtocols(@Nullable List<String> value)
      Sets the protocols property value. The list of protocols that the device supports.
      Parameters:
      value - Value to set for the protocols property.
    • setPurdueLayer

      public void setPurdueLayer(@Nullable String value)
      Sets the purdueLayer property value. The Purdue Layer of the device.
      Parameters:
      value - Value to set for the purdueLayer property.
    • setSensor

      public void setSensor(@Nullable String value)
      Sets the sensor property value. The sensor that monitors the device.
      Parameters:
      value - Value to set for the sensor property.
    • setSerialNumber

      public void setSerialNumber(@Nullable String value)
      Sets the serialNumber property value. The serial number of the device.
      Parameters:
      value - Value to set for the serialNumber property.
    • setSite

      public void setSite(@Nullable String value)
      Sets the site property value. The site location of the device.
      Parameters:
      value - Value to set for the site property.
    • setSource

      public void setSource(@Nullable String value)
      Sets the source property value. The source (microsoft/vendor) of the device entity.
      Parameters:
      value - Value to set for the source property.
    • setSourceRef

      public void setSourceRef(@Nullable UrlEvidence value)
      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

      public void setZone(@Nullable String value)
      Sets the zone property value. The zone location of the device within a site.
      Parameters:
      value - Value to set for the zone property.