Class DeviceEvidence

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

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

    • DeviceEvidence

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

    • createFromDiscriminatorValue

      @Nonnull public static DeviceEvidence 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 DeviceEvidence
    • getAzureAdDeviceId

      @Nullable public String getAzureAdDeviceId()
      Gets the azureAdDeviceId property value. A unique identifier assigned to a device by Microsoft Entra ID when device is Microsoft Entra joined.
      Returns:
      a String
    • getDefenderAvStatus

      @Nullable public DefenderAvStatus getDefenderAvStatus()
      Gets the defenderAvStatus property value. State of the Defender AntiMalware engine. The possible values are: notReporting, disabled, notUpdated, updated, unknown, notSupported, unknownFutureValue.
      Returns:
      a DefenderAvStatus
    • getDeviceDnsName

      @Nullable public String getDeviceDnsName()
      Gets the deviceDnsName property value. The fully qualified domain name (FQDN) for the device.
      Returns:
      a String
    • getDnsDomain

      @Nullable public String getDnsDomain()
      Gets the dnsDomain property value. The DNS domain that this computer belongs to. A sequence of labels separated by dots.
      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>>
    • getFirstSeenDateTime

      @Nullable public OffsetDateTime getFirstSeenDateTime()
      Gets the firstSeenDateTime property value. The date and time when the device was first seen.
      Returns:
      a OffsetDateTime
    • getHealthStatus

      @Nullable public DeviceHealthStatus getHealthStatus()
      Gets the healthStatus property value. The health state of the device. The possible values are: active, inactive, impairedCommunication, noSensorData, noSensorDataImpairedCommunication, unknown, unknownFutureValue.
      Returns:
      a DeviceHealthStatus
    • getHostName

      @Nullable public String getHostName()
      Gets the hostName property value. The hostname without the domain suffix.
      Returns:
      a String
    • getIpInterfaces

      @Nullable public List<String> getIpInterfaces()
      Gets the ipInterfaces property value. Ip interfaces of the device during the time of the alert.
      Returns:
      a List<String>
    • getLastExternalIpAddress

      @Nullable public String getLastExternalIpAddress()
      Gets the lastExternalIpAddress property value. The lastExternalIpAddress property
      Returns:
      a String
    • getLastIpAddress

      @Nullable public String getLastIpAddress()
      Gets the lastIpAddress property value. The lastIpAddress property
      Returns:
      a String
    • getLoggedOnUsers

      @Nullable public List<LoggedOnUser> getLoggedOnUsers()
      Gets the loggedOnUsers property value. Users that were logged on the machine during the time of the alert.
      Returns:
      a List<LoggedOnUser>
    • getMdeDeviceId

      @Nullable public String getMdeDeviceId()
      Gets the mdeDeviceId property value. A unique identifier assigned to a device by Microsoft Defender for Endpoint.
      Returns:
      a String
    • getNtDomain

      @Nullable public String getNtDomain()
      Gets the ntDomain property value. A logical grouping of computers within a Microsoft Windows network.
      Returns:
      a String
    • getOnboardingStatus

      @Nullable public OnboardingStatus getOnboardingStatus()
      Gets the onboardingStatus property value. The status of the machine onboarding to Microsoft Defender for Endpoint. The possible values are: insufficientInfo, onboarded, canBeOnboarded, unsupported, unknownFutureValue.
      Returns:
      a OnboardingStatus
    • getOsBuild

      @Nullable public Long getOsBuild()
      Gets the osBuild property value. The build version for the operating system the device is running.
      Returns:
      a Long
    • getOsPlatform

      @Nullable public String getOsPlatform()
      Gets the osPlatform property value. The operating system platform the device is running.
      Returns:
      a String
    • getRbacGroupId

      @Nullable public Integer getRbacGroupId()
      Gets the rbacGroupId property value. The ID of the role-based access control (RBAC) device group.
      Returns:
      a Integer
    • getRbacGroupName

      @Nullable public String getRbacGroupName()
      Gets the rbacGroupName property value. The name of the RBAC device group.
      Returns:
      a String
    • getRiskScore

      @Nullable public DeviceRiskScore getRiskScore()
      Gets the riskScore property value. Risk score as evaluated by Microsoft Defender for Endpoint. The possible values are: none, informational, low, medium, high, unknownFutureValue.
      Returns:
      a DeviceRiskScore
    • getVersion

      @Nullable public String getVersion()
      Gets the version property value. The version of the operating system platform.
      Returns:
      a String
    • getVmMetadata

      @Nullable public VmMetadata getVmMetadata()
      Gets the vmMetadata property value. Metadata of the virtual machine (VM) on which Microsoft Defender for Endpoint is running.
      Returns:
      a VmMetadata
    • 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
    • setAzureAdDeviceId

      public void setAzureAdDeviceId(@Nullable String value)
      Sets the azureAdDeviceId property value. A unique identifier assigned to a device by Microsoft Entra ID when device is Microsoft Entra joined.
      Parameters:
      value - Value to set for the azureAdDeviceId property.
    • setDefenderAvStatus

      public void setDefenderAvStatus(@Nullable DefenderAvStatus value)
      Sets the defenderAvStatus property value. State of the Defender AntiMalware engine. The possible values are: notReporting, disabled, notUpdated, updated, unknown, notSupported, unknownFutureValue.
      Parameters:
      value - Value to set for the defenderAvStatus property.
    • setDeviceDnsName

      public void setDeviceDnsName(@Nullable String value)
      Sets the deviceDnsName property value. The fully qualified domain name (FQDN) for the device.
      Parameters:
      value - Value to set for the deviceDnsName property.
    • setDnsDomain

      public void setDnsDomain(@Nullable String value)
      Sets the dnsDomain property value. The DNS domain that this computer belongs to. A sequence of labels separated by dots.
      Parameters:
      value - Value to set for the dnsDomain property.
    • setFirstSeenDateTime

      public void setFirstSeenDateTime(@Nullable OffsetDateTime value)
      Sets the firstSeenDateTime property value. The date and time when the device was first seen.
      Parameters:
      value - Value to set for the firstSeenDateTime property.
    • setHealthStatus

      public void setHealthStatus(@Nullable DeviceHealthStatus value)
      Sets the healthStatus property value. The health state of the device. The possible values are: active, inactive, impairedCommunication, noSensorData, noSensorDataImpairedCommunication, unknown, unknownFutureValue.
      Parameters:
      value - Value to set for the healthStatus property.
    • setHostName

      public void setHostName(@Nullable String value)
      Sets the hostName property value. The hostname without the domain suffix.
      Parameters:
      value - Value to set for the hostName property.
    • setIpInterfaces

      public void setIpInterfaces(@Nullable List<String> value)
      Sets the ipInterfaces property value. Ip interfaces of the device during the time of the alert.
      Parameters:
      value - Value to set for the ipInterfaces property.
    • setLastExternalIpAddress

      public void setLastExternalIpAddress(@Nullable String value)
      Sets the lastExternalIpAddress property value. The lastExternalIpAddress property
      Parameters:
      value - Value to set for the lastExternalIpAddress property.
    • setLastIpAddress

      public void setLastIpAddress(@Nullable String value)
      Sets the lastIpAddress property value. The lastIpAddress property
      Parameters:
      value - Value to set for the lastIpAddress property.
    • setLoggedOnUsers

      public void setLoggedOnUsers(@Nullable List<LoggedOnUser> value)
      Sets the loggedOnUsers property value. Users that were logged on the machine during the time of the alert.
      Parameters:
      value - Value to set for the loggedOnUsers property.
    • setMdeDeviceId

      public void setMdeDeviceId(@Nullable String value)
      Sets the mdeDeviceId property value. A unique identifier assigned to a device by Microsoft Defender for Endpoint.
      Parameters:
      value - Value to set for the mdeDeviceId property.
    • setNtDomain

      public void setNtDomain(@Nullable String value)
      Sets the ntDomain property value. A logical grouping of computers within a Microsoft Windows network.
      Parameters:
      value - Value to set for the ntDomain property.
    • setOnboardingStatus

      public void setOnboardingStatus(@Nullable OnboardingStatus value)
      Sets the onboardingStatus property value. The status of the machine onboarding to Microsoft Defender for Endpoint. The possible values are: insufficientInfo, onboarded, canBeOnboarded, unsupported, unknownFutureValue.
      Parameters:
      value - Value to set for the onboardingStatus property.
    • setOsBuild

      public void setOsBuild(@Nullable Long value)
      Sets the osBuild property value. The build version for the operating system the device is running.
      Parameters:
      value - Value to set for the osBuild property.
    • setOsPlatform

      public void setOsPlatform(@Nullable String value)
      Sets the osPlatform property value. The operating system platform the device is running.
      Parameters:
      value - Value to set for the osPlatform property.
    • setRbacGroupId

      public void setRbacGroupId(@Nullable Integer value)
      Sets the rbacGroupId property value. The ID of the role-based access control (RBAC) device group.
      Parameters:
      value - Value to set for the rbacGroupId property.
    • setRbacGroupName

      public void setRbacGroupName(@Nullable String value)
      Sets the rbacGroupName property value. The name of the RBAC device group.
      Parameters:
      value - Value to set for the rbacGroupName property.
    • setRiskScore

      public void setRiskScore(@Nullable DeviceRiskScore value)
      Sets the riskScore property value. Risk score as evaluated by Microsoft Defender for Endpoint. The possible values are: none, informational, low, medium, high, unknownFutureValue.
      Parameters:
      value - Value to set for the riskScore property.
    • setVersion

      public void setVersion(@Nullable String value)
      Sets the version property value. The version of the operating system platform.
      Parameters:
      value - Value to set for the version property.
    • setVmMetadata

      public void setVmMetadata(@Nullable VmMetadata value)
      Sets the vmMetadata property value. Metadata of the virtual machine (VM) on which Microsoft Defender for Endpoint is running.
      Parameters:
      value - Value to set for the vmMetadata property.