Class WindowsProtectionState

java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.WindowsProtectionState
All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable, com.microsoft.kiota.store.BackedModel

@Generated("com.microsoft.kiota") public class WindowsProtectionState extends Entity implements com.microsoft.kiota.serialization.Parsable
Device protection status entity.
  • Constructor Details

    • WindowsProtectionState

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

    • createFromDiscriminatorValue

      @Nonnull public static WindowsProtectionState 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 WindowsProtectionState
    • getAntiMalwareVersion

      @Nullable public String getAntiMalwareVersion()
      Gets the antiMalwareVersion property value. Current anti malware version
      Returns:
      a String
    • getDetectedMalwareState

      @Nullable public List<WindowsDeviceMalwareState> getDetectedMalwareState()
      Gets the detectedMalwareState property value. Device malware list
      Returns:
      a List<WindowsDeviceMalwareState>
    • getDeviceState

      @Nullable public EnumSet<WindowsDeviceHealthState> getDeviceState()
      Gets the deviceState property value. Indicates device's health state. Possible values are: clean, fullScanPending, rebootPending, manualStepsPending, offlineScanPending, critical. Possible values are: clean, fullScanPending, rebootPending, manualStepsPending, offlineScanPending, critical.
      Returns:
      a EnumSet<WindowsDeviceHealthState>
    • getEngineVersion

      @Nullable public String getEngineVersion()
      Gets the engineVersion property value. Current endpoint protection engine's version
      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 Entity
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getFullScanOverdue

      @Nullable public Boolean getFullScanOverdue()
      Gets the fullScanOverdue property value. When TRUE indicates full scan is overdue, when FALSE indicates full scan is not overdue. Defaults to setting on client device.
      Returns:
      a Boolean
    • getFullScanRequired

      @Nullable public Boolean getFullScanRequired()
      Gets the fullScanRequired property value. When TRUE indicates full scan is required, when FALSE indicates full scan is not required. Defaults to setting on client device.
      Returns:
      a Boolean
    • getIsVirtualMachine

      @Nullable public Boolean getIsVirtualMachine()
      Gets the isVirtualMachine property value. When TRUE indicates the device is a virtual machine, when FALSE indicates the device is not a virtual machine. Defaults to setting on client device.
      Returns:
      a Boolean
    • getLastFullScanDateTime

      @Nullable public OffsetDateTime getLastFullScanDateTime()
      Gets the lastFullScanDateTime property value. Last quick scan datetime
      Returns:
      a OffsetDateTime
    • getLastFullScanSignatureVersion

      @Nullable public String getLastFullScanSignatureVersion()
      Gets the lastFullScanSignatureVersion property value. Last full scan signature version
      Returns:
      a String
    • getLastQuickScanDateTime

      @Nullable public OffsetDateTime getLastQuickScanDateTime()
      Gets the lastQuickScanDateTime property value. Last quick scan datetime
      Returns:
      a OffsetDateTime
    • getLastQuickScanSignatureVersion

      @Nullable public String getLastQuickScanSignatureVersion()
      Gets the lastQuickScanSignatureVersion property value. Last quick scan signature version
      Returns:
      a String
    • getLastReportedDateTime

      @Nullable public OffsetDateTime getLastReportedDateTime()
      Gets the lastReportedDateTime property value. Last device health status reported time
      Returns:
      a OffsetDateTime
    • getMalwareProtectionEnabled

      @Nullable public Boolean getMalwareProtectionEnabled()
      Gets the malwareProtectionEnabled property value. When TRUE indicates anti malware is enabled when FALSE indicates anti malware is not enabled.
      Returns:
      a Boolean
    • getNetworkInspectionSystemEnabled

      @Nullable public Boolean getNetworkInspectionSystemEnabled()
      Gets the networkInspectionSystemEnabled property value. When TRUE indicates network inspection system enabled, when FALSE indicates network inspection system is not enabled. Defaults to setting on client device.
      Returns:
      a Boolean
    • getProductStatus

      @Nullable public EnumSet<WindowsDefenderProductStatus> getProductStatus()
      Gets the productStatus property value. Product Status of Windows Defender Antivirus. Possible values are: noStatus, serviceNotRunning, serviceStartedWithoutMalwareProtection, pendingFullScanDueToThreatAction, pendingRebootDueToThreatAction, pendingManualStepsDueToThreatAction, avSignaturesOutOfDate, asSignaturesOutOfDate, noQuickScanHappenedForSpecifiedPeriod, noFullScanHappenedForSpecifiedPeriod, systemInitiatedScanInProgress, systemInitiatedCleanInProgress, samplesPendingSubmission, productRunningInEvaluationMode, productRunningInNonGenuineMode, productExpired, offlineScanRequired, serviceShutdownAsPartOfSystemShutdown, threatRemediationFailedCritically, threatRemediationFailedNonCritically, noStatusFlagsSet, platformOutOfDate, platformUpdateInProgress, platformAboutToBeOutdated, signatureOrPlatformEndOfLifeIsPastOrIsImpending, windowsSModeSignaturesInUseOnNonWin10SInstall. Possible values are: noStatus, serviceNotRunning, serviceStartedWithoutMalwareProtection, pendingFullScanDueToThreatAction, pendingRebootDueToThreatAction, pendingManualStepsDueToThreatAction, avSignaturesOutOfDate, asSignaturesOutOfDate, noQuickScanHappenedForSpecifiedPeriod, noFullScanHappenedForSpecifiedPeriod, systemInitiatedScanInProgress, systemInitiatedCleanInProgress, samplesPendingSubmission, productRunningInEvaluationMode, productRunningInNonGenuineMode, productExpired, offlineScanRequired, serviceShutdownAsPartOfSystemShutdown, threatRemediationFailedCritically, threatRemediationFailedNonCritically, noStatusFlagsSet, platformOutOfDate, platformUpdateInProgress, platformAboutToBeOutdated, signatureOrPlatformEndOfLifeIsPastOrIsImpending, windowsSModeSignaturesInUseOnNonWin10SInstall.
      Returns:
      a EnumSet<WindowsDefenderProductStatus>
    • getQuickScanOverdue

      @Nullable public Boolean getQuickScanOverdue()
      Gets the quickScanOverdue property value. When TRUE indicates quick scan is overdue, when FALSE indicates quick scan is not overdue. Defaults to setting on client device.
      Returns:
      a Boolean
    • getRealTimeProtectionEnabled

      @Nullable public Boolean getRealTimeProtectionEnabled()
      Gets the realTimeProtectionEnabled property value. When TRUE indicates real time protection is enabled, when FALSE indicates real time protection is not enabled. Defaults to setting on client device.
      Returns:
      a Boolean
    • getRebootRequired

      @Nullable public Boolean getRebootRequired()
      Gets the rebootRequired property value. When TRUE indicates reboot is required, when FALSE indicates when TRUE indicates reboot is not required. Defaults to setting on client device.
      Returns:
      a Boolean
    • getSignatureUpdateOverdue

      @Nullable public Boolean getSignatureUpdateOverdue()
      Gets the signatureUpdateOverdue property value. When TRUE indicates signature is out of date, when FALSE indicates signature is not out of date. Defaults to setting on client device.
      Returns:
      a Boolean
    • getSignatureVersion

      @Nullable public String getSignatureVersion()
      Gets the signatureVersion property value. Current malware definitions version
      Returns:
      a String
    • getTamperProtectionEnabled

      @Nullable public Boolean getTamperProtectionEnabled()
      Gets the tamperProtectionEnabled property value. When TRUE indicates the Windows Defender tamper protection feature is enabled, when FALSE indicates the Windows Defender tamper protection feature is not enabled. Defaults to setting on client device.
      Returns:
      a Boolean
    • 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 Entity
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setAntiMalwareVersion

      public void setAntiMalwareVersion(@Nullable String value)
      Sets the antiMalwareVersion property value. Current anti malware version
      Parameters:
      value - Value to set for the antiMalwareVersion property.
    • setDetectedMalwareState

      public void setDetectedMalwareState(@Nullable List<WindowsDeviceMalwareState> value)
      Sets the detectedMalwareState property value. Device malware list
      Parameters:
      value - Value to set for the detectedMalwareState property.
    • setDeviceState

      public void setDeviceState(@Nullable EnumSet<WindowsDeviceHealthState> value)
      Sets the deviceState property value. Indicates device's health state. Possible values are: clean, fullScanPending, rebootPending, manualStepsPending, offlineScanPending, critical. Possible values are: clean, fullScanPending, rebootPending, manualStepsPending, offlineScanPending, critical.
      Parameters:
      value - Value to set for the deviceState property.
    • setEngineVersion

      public void setEngineVersion(@Nullable String value)
      Sets the engineVersion property value. Current endpoint protection engine's version
      Parameters:
      value - Value to set for the engineVersion property.
    • setFullScanOverdue

      public void setFullScanOverdue(@Nullable Boolean value)
      Sets the fullScanOverdue property value. When TRUE indicates full scan is overdue, when FALSE indicates full scan is not overdue. Defaults to setting on client device.
      Parameters:
      value - Value to set for the fullScanOverdue property.
    • setFullScanRequired

      public void setFullScanRequired(@Nullable Boolean value)
      Sets the fullScanRequired property value. When TRUE indicates full scan is required, when FALSE indicates full scan is not required. Defaults to setting on client device.
      Parameters:
      value - Value to set for the fullScanRequired property.
    • setIsVirtualMachine

      public void setIsVirtualMachine(@Nullable Boolean value)
      Sets the isVirtualMachine property value. When TRUE indicates the device is a virtual machine, when FALSE indicates the device is not a virtual machine. Defaults to setting on client device.
      Parameters:
      value - Value to set for the isVirtualMachine property.
    • setLastFullScanDateTime

      public void setLastFullScanDateTime(@Nullable OffsetDateTime value)
      Sets the lastFullScanDateTime property value. Last quick scan datetime
      Parameters:
      value - Value to set for the lastFullScanDateTime property.
    • setLastFullScanSignatureVersion

      public void setLastFullScanSignatureVersion(@Nullable String value)
      Sets the lastFullScanSignatureVersion property value. Last full scan signature version
      Parameters:
      value - Value to set for the lastFullScanSignatureVersion property.
    • setLastQuickScanDateTime

      public void setLastQuickScanDateTime(@Nullable OffsetDateTime value)
      Sets the lastQuickScanDateTime property value. Last quick scan datetime
      Parameters:
      value - Value to set for the lastQuickScanDateTime property.
    • setLastQuickScanSignatureVersion

      public void setLastQuickScanSignatureVersion(@Nullable String value)
      Sets the lastQuickScanSignatureVersion property value. Last quick scan signature version
      Parameters:
      value - Value to set for the lastQuickScanSignatureVersion property.
    • setLastReportedDateTime

      public void setLastReportedDateTime(@Nullable OffsetDateTime value)
      Sets the lastReportedDateTime property value. Last device health status reported time
      Parameters:
      value - Value to set for the lastReportedDateTime property.
    • setMalwareProtectionEnabled

      public void setMalwareProtectionEnabled(@Nullable Boolean value)
      Sets the malwareProtectionEnabled property value. When TRUE indicates anti malware is enabled when FALSE indicates anti malware is not enabled.
      Parameters:
      value - Value to set for the malwareProtectionEnabled property.
    • setNetworkInspectionSystemEnabled

      public void setNetworkInspectionSystemEnabled(@Nullable Boolean value)
      Sets the networkInspectionSystemEnabled property value. When TRUE indicates network inspection system enabled, when FALSE indicates network inspection system is not enabled. Defaults to setting on client device.
      Parameters:
      value - Value to set for the networkInspectionSystemEnabled property.
    • setProductStatus

      public void setProductStatus(@Nullable EnumSet<WindowsDefenderProductStatus> value)
      Sets the productStatus property value. Product Status of Windows Defender Antivirus. Possible values are: noStatus, serviceNotRunning, serviceStartedWithoutMalwareProtection, pendingFullScanDueToThreatAction, pendingRebootDueToThreatAction, pendingManualStepsDueToThreatAction, avSignaturesOutOfDate, asSignaturesOutOfDate, noQuickScanHappenedForSpecifiedPeriod, noFullScanHappenedForSpecifiedPeriod, systemInitiatedScanInProgress, systemInitiatedCleanInProgress, samplesPendingSubmission, productRunningInEvaluationMode, productRunningInNonGenuineMode, productExpired, offlineScanRequired, serviceShutdownAsPartOfSystemShutdown, threatRemediationFailedCritically, threatRemediationFailedNonCritically, noStatusFlagsSet, platformOutOfDate, platformUpdateInProgress, platformAboutToBeOutdated, signatureOrPlatformEndOfLifeIsPastOrIsImpending, windowsSModeSignaturesInUseOnNonWin10SInstall. Possible values are: noStatus, serviceNotRunning, serviceStartedWithoutMalwareProtection, pendingFullScanDueToThreatAction, pendingRebootDueToThreatAction, pendingManualStepsDueToThreatAction, avSignaturesOutOfDate, asSignaturesOutOfDate, noQuickScanHappenedForSpecifiedPeriod, noFullScanHappenedForSpecifiedPeriod, systemInitiatedScanInProgress, systemInitiatedCleanInProgress, samplesPendingSubmission, productRunningInEvaluationMode, productRunningInNonGenuineMode, productExpired, offlineScanRequired, serviceShutdownAsPartOfSystemShutdown, threatRemediationFailedCritically, threatRemediationFailedNonCritically, noStatusFlagsSet, platformOutOfDate, platformUpdateInProgress, platformAboutToBeOutdated, signatureOrPlatformEndOfLifeIsPastOrIsImpending, windowsSModeSignaturesInUseOnNonWin10SInstall.
      Parameters:
      value - Value to set for the productStatus property.
    • setQuickScanOverdue

      public void setQuickScanOverdue(@Nullable Boolean value)
      Sets the quickScanOverdue property value. When TRUE indicates quick scan is overdue, when FALSE indicates quick scan is not overdue. Defaults to setting on client device.
      Parameters:
      value - Value to set for the quickScanOverdue property.
    • setRealTimeProtectionEnabled

      public void setRealTimeProtectionEnabled(@Nullable Boolean value)
      Sets the realTimeProtectionEnabled property value. When TRUE indicates real time protection is enabled, when FALSE indicates real time protection is not enabled. Defaults to setting on client device.
      Parameters:
      value - Value to set for the realTimeProtectionEnabled property.
    • setRebootRequired

      public void setRebootRequired(@Nullable Boolean value)
      Sets the rebootRequired property value. When TRUE indicates reboot is required, when FALSE indicates when TRUE indicates reboot is not required. Defaults to setting on client device.
      Parameters:
      value - Value to set for the rebootRequired property.
    • setSignatureUpdateOverdue

      public void setSignatureUpdateOverdue(@Nullable Boolean value)
      Sets the signatureUpdateOverdue property value. When TRUE indicates signature is out of date, when FALSE indicates signature is not out of date. Defaults to setting on client device.
      Parameters:
      value - Value to set for the signatureUpdateOverdue property.
    • setSignatureVersion

      public void setSignatureVersion(@Nullable String value)
      Sets the signatureVersion property value. Current malware definitions version
      Parameters:
      value - Value to set for the signatureVersion property.
    • setTamperProtectionEnabled

      public void setTamperProtectionEnabled(@Nullable Boolean value)
      Sets the tamperProtectionEnabled property value. When TRUE indicates the Windows Defender tamper protection feature is enabled, when FALSE indicates the Windows Defender tamper protection feature is not enabled. Defaults to setting on client device.
      Parameters:
      value - Value to set for the tamperProtectionEnabled property.