Class DeviceHealthScriptRunSummary
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.DeviceHealthScriptRunSummary
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class DeviceHealthScriptRunSummary extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
“Contains properties for the run summary of a device management script.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDeviceHealthScriptRunSummary.Builder
-
Field Summary
Fields Modifier and Type Field Description protected IntegerdetectionScriptErrorDeviceCountprotected IntegerdetectionScriptNotApplicableDeviceCountprotected IntegerdetectionScriptPendingDeviceCountprotected IntegerissueDetectedDeviceCountprotected IntegerissueRemediatedCumulativeDeviceCountprotected IntegerissueRemediatedDeviceCountprotected IntegerissueReoccurredDeviceCountprotected OffsetDateTimelastScriptRunDateTimeprotected IntegernoIssueDetectedDeviceCountprotected IntegerremediationScriptErrorDeviceCountprotected IntegerremediationSkippedDeviceCount-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedDeviceHealthScriptRunSummary()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeviceHealthScriptRunSummary.BuilderbuilderDeviceHealthScriptRunSummary()Returns a builder which is used to create a new instance of this class (given that this class is immutable).com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<Integer>getDetectionScriptErrorDeviceCount()“Number of devices on which the detection script execution encountered an error and did not complete”Optional<Integer>getDetectionScriptNotApplicableDeviceCount()“Number of devices for which the detection script was not applicable”Optional<Integer>getDetectionScriptPendingDeviceCount()“Number of devices which have not yet run the latest version of the device health script”Optional<Integer>getIssueDetectedDeviceCount()“Number of devices for which the detection script found an issue”Optional<Integer>getIssueRemediatedCumulativeDeviceCount()“Number of devices that were remediated over the last 30 days”Optional<Integer>getIssueRemediatedDeviceCount()“Number of devices for which the remediation script was able to resolve the detected issue”Optional<Integer>getIssueReoccurredDeviceCount()“Number of devices for which the remediation script executed successfully but failed to resolve the detected issue”Optional<OffsetDateTime>getLastScriptRunDateTime()“Last run time for the script across all devices”Optional<Integer>getNoIssueDetectedDeviceCount()“Number of devices for which the detection script did not find an issue and the device is healthy”Optional<Integer>getRemediationScriptErrorDeviceCount()“Number of devices for which the remediation script execution encountered an error and did not complete”Optional<Integer>getRemediationSkippedDeviceCount()“Number of devices for which remediation was skipped”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()DeviceHealthScriptRunSummarypatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)DeviceHealthScriptRunSummaryput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()DeviceHealthScriptRunSummarywithDetectionScriptErrorDeviceCount(Integer detectionScriptErrorDeviceCount)Returns an immutable copy ofthiswith just thedetectionScriptErrorDeviceCountfield changed.DeviceHealthScriptRunSummarywithDetectionScriptNotApplicableDeviceCount(Integer detectionScriptNotApplicableDeviceCount)Returns an immutable copy ofthiswith just thedetectionScriptNotApplicableDeviceCountfield changed.DeviceHealthScriptRunSummarywithDetectionScriptPendingDeviceCount(Integer detectionScriptPendingDeviceCount)Returns an immutable copy ofthiswith just thedetectionScriptPendingDeviceCountfield changed.DeviceHealthScriptRunSummarywithIssueDetectedDeviceCount(Integer issueDetectedDeviceCount)Returns an immutable copy ofthiswith just theissueDetectedDeviceCountfield changed.DeviceHealthScriptRunSummarywithIssueRemediatedCumulativeDeviceCount(Integer issueRemediatedCumulativeDeviceCount)Returns an immutable copy ofthiswith just theissueRemediatedCumulativeDeviceCountfield changed.DeviceHealthScriptRunSummarywithIssueRemediatedDeviceCount(Integer issueRemediatedDeviceCount)Returns an immutable copy ofthiswith just theissueRemediatedDeviceCountfield changed.DeviceHealthScriptRunSummarywithIssueReoccurredDeviceCount(Integer issueReoccurredDeviceCount)Returns an immutable copy ofthiswith just theissueReoccurredDeviceCountfield changed.DeviceHealthScriptRunSummarywithLastScriptRunDateTime(OffsetDateTime lastScriptRunDateTime)Returns an immutable copy ofthiswith just thelastScriptRunDateTimefield changed.DeviceHealthScriptRunSummarywithNoIssueDetectedDeviceCount(Integer noIssueDetectedDeviceCount)Returns an immutable copy ofthiswith just thenoIssueDetectedDeviceCountfield changed.DeviceHealthScriptRunSummarywithRemediationScriptErrorDeviceCount(Integer remediationScriptErrorDeviceCount)Returns an immutable copy ofthiswith just theremediationScriptErrorDeviceCountfield changed.DeviceHealthScriptRunSummarywithRemediationSkippedDeviceCount(Integer remediationSkippedDeviceCount)Returns an immutable copy ofthiswith just theremediationSkippedDeviceCountfield changed.DeviceHealthScriptRunSummarywithUnmappedField(String name, String value)
-
-
-
Field Detail
-
detectionScriptErrorDeviceCount
protected Integer detectionScriptErrorDeviceCount
-
detectionScriptNotApplicableDeviceCount
protected Integer detectionScriptNotApplicableDeviceCount
-
detectionScriptPendingDeviceCount
protected Integer detectionScriptPendingDeviceCount
-
issueDetectedDeviceCount
protected Integer issueDetectedDeviceCount
-
issueRemediatedCumulativeDeviceCount
protected Integer issueRemediatedCumulativeDeviceCount
-
issueRemediatedDeviceCount
protected Integer issueRemediatedDeviceCount
-
issueReoccurredDeviceCount
protected Integer issueReoccurredDeviceCount
-
lastScriptRunDateTime
protected OffsetDateTime lastScriptRunDateTime
-
noIssueDetectedDeviceCount
protected Integer noIssueDetectedDeviceCount
-
remediationScriptErrorDeviceCount
protected Integer remediationScriptErrorDeviceCount
-
remediationSkippedDeviceCount
protected Integer remediationSkippedDeviceCount
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderDeviceHealthScriptRunSummary
public static DeviceHealthScriptRunSummary.Builder builderDeviceHealthScriptRunSummary()
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
-
getChangedFields
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
- Specified by:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classEntity
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classEntity
-
getDetectionScriptErrorDeviceCount
public Optional<Integer> getDetectionScriptErrorDeviceCount()
“Number of devices on which the detection script execution encountered an error and did not complete”- Returns:
- property detectionScriptErrorDeviceCount
-
withDetectionScriptErrorDeviceCount
public DeviceHealthScriptRunSummary withDetectionScriptErrorDeviceCount(Integer detectionScriptErrorDeviceCount)
Returns an immutable copy ofthiswith just thedetectionScriptErrorDeviceCountfield 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.“Number of devices on which the detection script execution encountered an error and did not complete”
- Parameters:
detectionScriptErrorDeviceCount- new value ofdetectionScriptErrorDeviceCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedetectionScriptErrorDeviceCountfield changed
-
getDetectionScriptNotApplicableDeviceCount
public Optional<Integer> getDetectionScriptNotApplicableDeviceCount()
“Number of devices for which the detection script was not applicable”- Returns:
- property detectionScriptNotApplicableDeviceCount
-
withDetectionScriptNotApplicableDeviceCount
public DeviceHealthScriptRunSummary withDetectionScriptNotApplicableDeviceCount(Integer detectionScriptNotApplicableDeviceCount)
Returns an immutable copy ofthiswith just thedetectionScriptNotApplicableDeviceCountfield 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.“Number of devices for which the detection script was not applicable”
- Parameters:
detectionScriptNotApplicableDeviceCount- new value ofdetectionScriptNotApplicableDeviceCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedetectionScriptNotApplicableDeviceCountfield changed
-
getDetectionScriptPendingDeviceCount
public Optional<Integer> getDetectionScriptPendingDeviceCount()
“Number of devices which have not yet run the latest version of the device health script”- Returns:
- property detectionScriptPendingDeviceCount
-
withDetectionScriptPendingDeviceCount
public DeviceHealthScriptRunSummary withDetectionScriptPendingDeviceCount(Integer detectionScriptPendingDeviceCount)
Returns an immutable copy ofthiswith just thedetectionScriptPendingDeviceCountfield 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.“Number of devices which have not yet run the latest version of the device health script”
- Parameters:
detectionScriptPendingDeviceCount- new value ofdetectionScriptPendingDeviceCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedetectionScriptPendingDeviceCountfield changed
-
getIssueDetectedDeviceCount
public Optional<Integer> getIssueDetectedDeviceCount()
“Number of devices for which the detection script found an issue”- Returns:
- property issueDetectedDeviceCount
-
withIssueDetectedDeviceCount
public DeviceHealthScriptRunSummary withIssueDetectedDeviceCount(Integer issueDetectedDeviceCount)
Returns an immutable copy ofthiswith just theissueDetectedDeviceCountfield 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.“Number of devices for which the detection script found an issue”
- Parameters:
issueDetectedDeviceCount- new value ofissueDetectedDeviceCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theissueDetectedDeviceCountfield changed
-
getIssueRemediatedCumulativeDeviceCount
public Optional<Integer> getIssueRemediatedCumulativeDeviceCount()
“Number of devices that were remediated over the last 30 days”- Returns:
- property issueRemediatedCumulativeDeviceCount
-
withIssueRemediatedCumulativeDeviceCount
public DeviceHealthScriptRunSummary withIssueRemediatedCumulativeDeviceCount(Integer issueRemediatedCumulativeDeviceCount)
Returns an immutable copy ofthiswith just theissueRemediatedCumulativeDeviceCountfield 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.“Number of devices that were remediated over the last 30 days”
- Parameters:
issueRemediatedCumulativeDeviceCount- new value ofissueRemediatedCumulativeDeviceCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theissueRemediatedCumulativeDeviceCountfield changed
-
getIssueRemediatedDeviceCount
public Optional<Integer> getIssueRemediatedDeviceCount()
“Number of devices for which the remediation script was able to resolve the detected issue”- Returns:
- property issueRemediatedDeviceCount
-
withIssueRemediatedDeviceCount
public DeviceHealthScriptRunSummary withIssueRemediatedDeviceCount(Integer issueRemediatedDeviceCount)
Returns an immutable copy ofthiswith just theissueRemediatedDeviceCountfield 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.“Number of devices for which the remediation script was able to resolve the detected issue”
- Parameters:
issueRemediatedDeviceCount- new value ofissueRemediatedDeviceCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theissueRemediatedDeviceCountfield changed
-
getIssueReoccurredDeviceCount
public Optional<Integer> getIssueReoccurredDeviceCount()
“Number of devices for which the remediation script executed successfully but failed to resolve the detected issue”- Returns:
- property issueReoccurredDeviceCount
-
withIssueReoccurredDeviceCount
public DeviceHealthScriptRunSummary withIssueReoccurredDeviceCount(Integer issueReoccurredDeviceCount)
Returns an immutable copy ofthiswith just theissueReoccurredDeviceCountfield 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.“Number of devices for which the remediation script executed successfully but failed to resolve the detected issue”
- Parameters:
issueReoccurredDeviceCount- new value ofissueReoccurredDeviceCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theissueReoccurredDeviceCountfield changed
-
getLastScriptRunDateTime
public Optional<OffsetDateTime> getLastScriptRunDateTime()
“Last run time for the script across all devices”- Returns:
- property lastScriptRunDateTime
-
withLastScriptRunDateTime
public DeviceHealthScriptRunSummary withLastScriptRunDateTime(OffsetDateTime lastScriptRunDateTime)
Returns an immutable copy ofthiswith just thelastScriptRunDateTimefield 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.“Last run time for the script across all devices”
- Parameters:
lastScriptRunDateTime- new value oflastScriptRunDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thelastScriptRunDateTimefield changed
-
getNoIssueDetectedDeviceCount
public Optional<Integer> getNoIssueDetectedDeviceCount()
“Number of devices for which the detection script did not find an issue and the device is healthy”- Returns:
- property noIssueDetectedDeviceCount
-
withNoIssueDetectedDeviceCount
public DeviceHealthScriptRunSummary withNoIssueDetectedDeviceCount(Integer noIssueDetectedDeviceCount)
Returns an immutable copy ofthiswith just thenoIssueDetectedDeviceCountfield 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.“Number of devices for which the detection script did not find an issue and the device is healthy”
- Parameters:
noIssueDetectedDeviceCount- new value ofnoIssueDetectedDeviceCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thenoIssueDetectedDeviceCountfield changed
-
getRemediationScriptErrorDeviceCount
public Optional<Integer> getRemediationScriptErrorDeviceCount()
“Number of devices for which the remediation script execution encountered an error and did not complete”- Returns:
- property remediationScriptErrorDeviceCount
-
withRemediationScriptErrorDeviceCount
public DeviceHealthScriptRunSummary withRemediationScriptErrorDeviceCount(Integer remediationScriptErrorDeviceCount)
Returns an immutable copy ofthiswith just theremediationScriptErrorDeviceCountfield 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.“Number of devices for which the remediation script execution encountered an error and did not complete”
- Parameters:
remediationScriptErrorDeviceCount- new value ofremediationScriptErrorDeviceCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theremediationScriptErrorDeviceCountfield changed
-
getRemediationSkippedDeviceCount
public Optional<Integer> getRemediationSkippedDeviceCount()
“Number of devices for which remediation was skipped”- Returns:
- property remediationSkippedDeviceCount
-
withRemediationSkippedDeviceCount
public DeviceHealthScriptRunSummary withRemediationSkippedDeviceCount(Integer remediationSkippedDeviceCount)
Returns an immutable copy ofthiswith just theremediationSkippedDeviceCountfield 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.“Number of devices for which remediation was skipped”
- Parameters:
remediationSkippedDeviceCount- new value ofremediationSkippedDeviceCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theremediationSkippedDeviceCountfield changed
-
withUnmappedField
public DeviceHealthScriptRunSummary withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEntity
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public DeviceHealthScriptRunSummary patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public DeviceHealthScriptRunSummary put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-