Package odata.msgraph.client.complex
Class DeviceProtectionOverview
- java.lang.Object
-
- odata.msgraph.client.complex.DeviceProtectionOverview
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class DeviceProtectionOverview extends Object implements com.github.davidmoten.odata.client.ODataType
“Hardware information of a given device.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDeviceProtectionOverview.Builder
-
Field Summary
Fields Modifier and Type Field Description protected IntegercleanDeviceCountprotected com.github.davidmoten.odata.client.ContextPathcontextPathprotected IntegercriticalFailuresDeviceCountprotected IntegerinactiveThreatAgentDeviceCountprotected StringodataTypeprotected IntegerpendingFullScanDeviceCountprotected IntegerpendingManualStepsDeviceCountprotected IntegerpendingOfflineScanDeviceCountprotected IntegerpendingQuickScanDeviceCountprotected IntegerpendingRestartDeviceCountprotected IntegerpendingSignatureUpdateDeviceCountprotected IntegertotalReportedDeviceCountprotected IntegerunknownStateThreatAgentDeviceCountprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedDeviceProtectionOverview()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeviceProtectionOverview.Builderbuilder()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<Integer>getCleanDeviceCount()“Indicates number of devices reporting as clean”Optional<Integer>getCriticalFailuresDeviceCount()“Indicates number of devices with critical failures”Optional<Integer>getInactiveThreatAgentDeviceCount()“Indicates number of devices with inactive threat agent”Optional<Integer>getPendingFullScanDeviceCount()“Indicates number of devices pending full scan”Optional<Integer>getPendingManualStepsDeviceCount()“Indicates number of devices with pending manual steps”Optional<Integer>getPendingOfflineScanDeviceCount()“Indicates number of pending offline scan devices”Optional<Integer>getPendingQuickScanDeviceCount()“Indicates the number of devices that have a pending full scan.Optional<Integer>getPendingRestartDeviceCount()“Indicates number of devices pending restart”Optional<Integer>getPendingSignatureUpdateDeviceCount()“Indicates number of devices with an old signature”Optional<Integer>getTotalReportedDeviceCount()“Total device count.”Optional<Integer>getUnknownStateThreatAgentDeviceCount()“Indicates number of devices with threat agent state as unknown”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()DeviceProtectionOverviewwithCleanDeviceCount(Integer cleanDeviceCount)Returns an immutable copy ofthiswith just thecleanDeviceCountfield changed.DeviceProtectionOverviewwithCriticalFailuresDeviceCount(Integer criticalFailuresDeviceCount)Returns an immutable copy ofthiswith just thecriticalFailuresDeviceCountfield changed.DeviceProtectionOverviewwithInactiveThreatAgentDeviceCount(Integer inactiveThreatAgentDeviceCount)Returns an immutable copy ofthiswith just theinactiveThreatAgentDeviceCountfield changed.DeviceProtectionOverviewwithPendingFullScanDeviceCount(Integer pendingFullScanDeviceCount)Returns an immutable copy ofthiswith just thependingFullScanDeviceCountfield changed.DeviceProtectionOverviewwithPendingManualStepsDeviceCount(Integer pendingManualStepsDeviceCount)Returns an immutable copy ofthiswith just thependingManualStepsDeviceCountfield changed.DeviceProtectionOverviewwithPendingOfflineScanDeviceCount(Integer pendingOfflineScanDeviceCount)Returns an immutable copy ofthiswith just thependingOfflineScanDeviceCountfield changed.DeviceProtectionOverviewwithPendingQuickScanDeviceCount(Integer pendingQuickScanDeviceCount)Returns an immutable copy ofthiswith just thependingQuickScanDeviceCountfield changed.DeviceProtectionOverviewwithPendingRestartDeviceCount(Integer pendingRestartDeviceCount)Returns an immutable copy ofthiswith just thependingRestartDeviceCountfield changed.DeviceProtectionOverviewwithPendingSignatureUpdateDeviceCount(Integer pendingSignatureUpdateDeviceCount)Returns an immutable copy ofthiswith just thependingSignatureUpdateDeviceCountfield changed.DeviceProtectionOverviewwithTotalReportedDeviceCount(Integer totalReportedDeviceCount)Returns an immutable copy ofthiswith just thetotalReportedDeviceCountfield changed.DeviceProtectionOverviewwithUnknownStateThreatAgentDeviceCount(Integer unknownStateThreatAgentDeviceCount)Returns an immutable copy ofthiswith just theunknownStateThreatAgentDeviceCountfield changed.DeviceProtectionOverviewwithUnmappedField(String name, Object value)
-
-
-
Field Detail
-
contextPath
protected com.github.davidmoten.odata.client.ContextPath contextPath
-
unmappedFields
protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl unmappedFields
-
odataType
protected String odataType
-
cleanDeviceCount
protected Integer cleanDeviceCount
-
criticalFailuresDeviceCount
protected Integer criticalFailuresDeviceCount
-
inactiveThreatAgentDeviceCount
protected Integer inactiveThreatAgentDeviceCount
-
pendingFullScanDeviceCount
protected Integer pendingFullScanDeviceCount
-
pendingManualStepsDeviceCount
protected Integer pendingManualStepsDeviceCount
-
pendingOfflineScanDeviceCount
protected Integer pendingOfflineScanDeviceCount
-
pendingQuickScanDeviceCount
protected Integer pendingQuickScanDeviceCount
-
pendingRestartDeviceCount
protected Integer pendingRestartDeviceCount
-
pendingSignatureUpdateDeviceCount
protected Integer pendingSignatureUpdateDeviceCount
-
totalReportedDeviceCount
protected Integer totalReportedDeviceCount
-
unknownStateThreatAgentDeviceCount
protected Integer unknownStateThreatAgentDeviceCount
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
getCleanDeviceCount
public Optional<Integer> getCleanDeviceCount()
“Indicates number of devices reporting as clean”- Returns:
- property cleanDeviceCount
-
withCleanDeviceCount
public DeviceProtectionOverview withCleanDeviceCount(Integer cleanDeviceCount)
Returns an immutable copy ofthiswith just thecleanDeviceCountfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“Indicates number of devices reporting as clean”
- Parameters:
cleanDeviceCount- new value ofcleanDeviceCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecleanDeviceCountfield changed
-
getCriticalFailuresDeviceCount
public Optional<Integer> getCriticalFailuresDeviceCount()
“Indicates number of devices with critical failures”- Returns:
- property criticalFailuresDeviceCount
-
withCriticalFailuresDeviceCount
public DeviceProtectionOverview withCriticalFailuresDeviceCount(Integer criticalFailuresDeviceCount)
Returns an immutable copy ofthiswith just thecriticalFailuresDeviceCountfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Indicates number of devices with critical failures”
- Parameters:
criticalFailuresDeviceCount- new value ofcriticalFailuresDeviceCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecriticalFailuresDeviceCountfield changed
-
getInactiveThreatAgentDeviceCount
public Optional<Integer> getInactiveThreatAgentDeviceCount()
“Indicates number of devices with inactive threat agent”- Returns:
- property inactiveThreatAgentDeviceCount
-
withInactiveThreatAgentDeviceCount
public DeviceProtectionOverview withInactiveThreatAgentDeviceCount(Integer inactiveThreatAgentDeviceCount)
Returns an immutable copy ofthiswith just theinactiveThreatAgentDeviceCountfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Indicates number of devices with inactive threat agent”
- Parameters:
inactiveThreatAgentDeviceCount- new value ofinactiveThreatAgentDeviceCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theinactiveThreatAgentDeviceCountfield changed
-
getPendingFullScanDeviceCount
public Optional<Integer> getPendingFullScanDeviceCount()
“Indicates number of devices pending full scan”- Returns:
- property pendingFullScanDeviceCount
-
withPendingFullScanDeviceCount
public DeviceProtectionOverview withPendingFullScanDeviceCount(Integer pendingFullScanDeviceCount)
Returns an immutable copy ofthiswith just thependingFullScanDeviceCountfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Indicates number of devices pending full scan”
- Parameters:
pendingFullScanDeviceCount- new value ofpendingFullScanDeviceCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thependingFullScanDeviceCountfield changed
-
getPendingManualStepsDeviceCount
public Optional<Integer> getPendingManualStepsDeviceCount()
“Indicates number of devices with pending manual steps”- Returns:
- property pendingManualStepsDeviceCount
-
withPendingManualStepsDeviceCount
public DeviceProtectionOverview withPendingManualStepsDeviceCount(Integer pendingManualStepsDeviceCount)
Returns an immutable copy ofthiswith just thependingManualStepsDeviceCountfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Indicates number of devices with pending manual steps”
- Parameters:
pendingManualStepsDeviceCount- new value ofpendingManualStepsDeviceCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thependingManualStepsDeviceCountfield changed
-
getPendingOfflineScanDeviceCount
public Optional<Integer> getPendingOfflineScanDeviceCount()
“Indicates number of pending offline scan devices”- Returns:
- property pendingOfflineScanDeviceCount
-
withPendingOfflineScanDeviceCount
public DeviceProtectionOverview withPendingOfflineScanDeviceCount(Integer pendingOfflineScanDeviceCount)
Returns an immutable copy ofthiswith just thependingOfflineScanDeviceCountfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Indicates number of pending offline scan devices”
- Parameters:
pendingOfflineScanDeviceCount- new value ofpendingOfflineScanDeviceCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thependingOfflineScanDeviceCountfield changed
-
getPendingQuickScanDeviceCount
public Optional<Integer> getPendingQuickScanDeviceCount()
“Indicates the number of devices that have a pending full scan. Valid values - 2147483648 to 2147483647”- Returns:
- property pendingQuickScanDeviceCount
-
withPendingQuickScanDeviceCount
public DeviceProtectionOverview withPendingQuickScanDeviceCount(Integer pendingQuickScanDeviceCount)
Returns an immutable copy ofthiswith just thependingQuickScanDeviceCountfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Indicates the number of devices that have a pending full scan. Valid values - 2147483648 to 2147483647”
- Parameters:
pendingQuickScanDeviceCount- new value ofpendingQuickScanDeviceCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thependingQuickScanDeviceCountfield changed
-
getPendingRestartDeviceCount
public Optional<Integer> getPendingRestartDeviceCount()
“Indicates number of devices pending restart”- Returns:
- property pendingRestartDeviceCount
-
withPendingRestartDeviceCount
public DeviceProtectionOverview withPendingRestartDeviceCount(Integer pendingRestartDeviceCount)
Returns an immutable copy ofthiswith just thependingRestartDeviceCountfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Indicates number of devices pending restart”
- Parameters:
pendingRestartDeviceCount- new value ofpendingRestartDeviceCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thependingRestartDeviceCountfield changed
-
getPendingSignatureUpdateDeviceCount
public Optional<Integer> getPendingSignatureUpdateDeviceCount()
“Indicates number of devices with an old signature”- Returns:
- property pendingSignatureUpdateDeviceCount
-
withPendingSignatureUpdateDeviceCount
public DeviceProtectionOverview withPendingSignatureUpdateDeviceCount(Integer pendingSignatureUpdateDeviceCount)
Returns an immutable copy ofthiswith just thependingSignatureUpdateDeviceCountfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Indicates number of devices with an old signature”
- Parameters:
pendingSignatureUpdateDeviceCount- new value ofpendingSignatureUpdateDeviceCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thependingSignatureUpdateDeviceCountfield changed
-
getTotalReportedDeviceCount
public Optional<Integer> getTotalReportedDeviceCount()
“Total device count.”- Returns:
- property totalReportedDeviceCount
-
withTotalReportedDeviceCount
public DeviceProtectionOverview withTotalReportedDeviceCount(Integer totalReportedDeviceCount)
Returns an immutable copy ofthiswith just thetotalReportedDeviceCountfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Total device count.”
- Parameters:
totalReportedDeviceCount- new value oftotalReportedDeviceCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thetotalReportedDeviceCountfield changed
-
getUnknownStateThreatAgentDeviceCount
public Optional<Integer> getUnknownStateThreatAgentDeviceCount()
“Indicates number of devices with threat agent state as unknown”- Returns:
- property unknownStateThreatAgentDeviceCount
-
withUnknownStateThreatAgentDeviceCount
public DeviceProtectionOverview withUnknownStateThreatAgentDeviceCount(Integer unknownStateThreatAgentDeviceCount)
Returns an immutable copy ofthiswith just theunknownStateThreatAgentDeviceCountfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Indicates number of devices with threat agent state as unknown”
- Parameters:
unknownStateThreatAgentDeviceCount- new value ofunknownStateThreatAgentDeviceCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theunknownStateThreatAgentDeviceCountfield changed
-
withUnmappedField
public DeviceProtectionOverview withUnmappedField(String name, Object value)
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType
-
builder
public static DeviceProtectionOverview.Builder builder()
Returns a builder which is used to create a new instance of this class (given that this class is immutable).- Returns:
- a new Builder for this class
-
-