Package com.microsoft.graph.models
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.
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic WindowsProtectionState
createFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the antiMalwareVersion property value.Gets the detectedMalwareState property value.Gets the deviceState property value.Gets the engineVersion property value.The deserialization information for the current modelGets the fullScanOverdue property value.Gets the fullScanRequired property value.Gets the isVirtualMachine property value.Gets the lastFullScanDateTime property value.Gets the lastFullScanSignatureVersion property value.Gets the lastQuickScanDateTime property value.Gets the lastQuickScanSignatureVersion property value.Gets the lastReportedDateTime property value.Gets the malwareProtectionEnabled property value.Gets the networkInspectionSystemEnabled property value.Gets the productStatus property value.Gets the quickScanOverdue property value.Gets the realTimeProtectionEnabled property value.Gets the rebootRequired property value.Gets the signatureUpdateOverdue property value.Gets the signatureVersion property value.Gets the tamperProtectionEnabled property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
setAntiMalwareVersion
(String value) Sets the antiMalwareVersion property value.void
Sets the detectedMalwareState property value.void
Sets the deviceState property value.void
setEngineVersion
(String value) Sets the engineVersion property value.void
setFullScanOverdue
(Boolean value) Sets the fullScanOverdue property value.void
setFullScanRequired
(Boolean value) Sets the fullScanRequired property value.void
setIsVirtualMachine
(Boolean value) Sets the isVirtualMachine property value.void
Sets the lastFullScanDateTime property value.void
Sets the lastFullScanSignatureVersion property value.void
Sets the lastQuickScanDateTime property value.void
Sets the lastQuickScanSignatureVersion property value.void
Sets the lastReportedDateTime property value.void
Sets the malwareProtectionEnabled property value.void
Sets the networkInspectionSystemEnabled property value.void
Sets the productStatus property value.void
setQuickScanOverdue
(Boolean value) Sets the quickScanOverdue property value.void
Sets the realTimeProtectionEnabled property value.void
setRebootRequired
(Boolean value) Sets the rebootRequired property value.void
setSignatureUpdateOverdue
(Boolean value) Sets the signatureUpdateOverdue property value.void
setSignatureVersion
(String value) Sets the signatureVersion property value.void
Sets the tamperProtectionEnabled property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
WindowsProtectionState
public WindowsProtectionState()Instantiates a newWindowsProtectionState
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
Gets the antiMalwareVersion property value. Current anti malware version- Returns:
- a
String
-
getDetectedMalwareState
Gets the detectedMalwareState property value. Device malware list- Returns:
- a
List<WindowsDeviceMalwareState>
-
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
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 interfacecom.microsoft.kiota.serialization.Parsable
- Overrides:
getFieldDeserializers
in classEntity
- Returns:
- a
Map<String,
Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
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
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
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
Gets the lastFullScanDateTime property value. Last quick scan datetime- Returns:
- a
OffsetDateTime
-
getLastFullScanSignatureVersion
Gets the lastFullScanSignatureVersion property value. Last full scan signature version- Returns:
- a
String
-
getLastQuickScanDateTime
Gets the lastQuickScanDateTime property value. Last quick scan datetime- Returns:
- a
OffsetDateTime
-
getLastQuickScanSignatureVersion
Gets the lastQuickScanSignatureVersion property value. Last quick scan signature version- Returns:
- a
String
-
getLastReportedDateTime
Gets the lastReportedDateTime property value. Last device health status reported time- Returns:
- a
OffsetDateTime
-
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
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
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
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
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
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
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
Gets the signatureVersion property value. Current malware definitions version- Returns:
- a
String
-
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 -
setAntiMalwareVersion
Sets the antiMalwareVersion property value. Current anti malware version- Parameters:
value
- Value to set for the antiMalwareVersion property.
-
setDetectedMalwareState
Sets the detectedMalwareState property value. Device malware list- Parameters:
value
- Value to set for the detectedMalwareState property.
-
setDeviceState
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
Sets the engineVersion property value. Current endpoint protection engine's version- Parameters:
value
- Value to set for the engineVersion property.
-
setFullScanOverdue
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
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
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
Sets the lastFullScanDateTime property value. Last quick scan datetime- Parameters:
value
- Value to set for the lastFullScanDateTime property.
-
setLastFullScanSignatureVersion
Sets the lastFullScanSignatureVersion property value. Last full scan signature version- Parameters:
value
- Value to set for the lastFullScanSignatureVersion property.
-
setLastQuickScanDateTime
Sets the lastQuickScanDateTime property value. Last quick scan datetime- Parameters:
value
- Value to set for the lastQuickScanDateTime property.
-
setLastQuickScanSignatureVersion
Sets the lastQuickScanSignatureVersion property value. Last quick scan signature version- Parameters:
value
- Value to set for the lastQuickScanSignatureVersion property.
-
setLastReportedDateTime
Sets the lastReportedDateTime property value. Last device health status reported time- Parameters:
value
- Value to set for the lastReportedDateTime property.
-
setMalwareProtectionEnabled
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
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
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
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
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
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
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
Sets the signatureVersion property value. Current malware definitions version- Parameters:
value
- Value to set for the signatureVersion property.
-
setTamperProtectionEnabled
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.
-