public class DeviceComplianceScriptRunSummary extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
DeviceComplianceScriptRunSummary.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected Integer |
detectionScriptErrorDeviceCount |
protected Integer |
detectionScriptPendingDeviceCount |
protected Integer |
issueDetectedDeviceCount |
protected OffsetDateTime |
lastScriptRunDateTime |
protected Integer |
noIssueDetectedDeviceCount |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
DeviceComplianceScriptRunSummary() |
| Modifier and Type | Method and Description |
|---|---|
static DeviceComplianceScriptRunSummary.Builder |
builderDeviceComplianceScriptRunSummary()
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.ChangedFields |
getChangedFields() |
Optional<Integer> |
getDetectionScriptErrorDeviceCount()
“Number of devices on which the detection script execution encountered an error
and did not complete.
|
Optional<Integer> |
getDetectionScriptPendingDeviceCount()
“Number of devices which have not yet run the latest version of the device
compliance script.
|
Optional<Integer> |
getIssueDetectedDeviceCount()
“Number of devices for which the detection script found an 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.
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
DeviceComplianceScriptRunSummary |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
DeviceComplianceScriptRunSummary |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
DeviceComplianceScriptRunSummary |
withDetectionScriptErrorDeviceCount(Integer detectionScriptErrorDeviceCount)
Returns an immutable copy of
this with just the detectionScriptErrorDeviceCount field changed. |
DeviceComplianceScriptRunSummary |
withDetectionScriptPendingDeviceCount(Integer detectionScriptPendingDeviceCount)
Returns an immutable copy of
this with just the detectionScriptPendingDeviceCount field changed. |
DeviceComplianceScriptRunSummary |
withIssueDetectedDeviceCount(Integer issueDetectedDeviceCount)
Returns an immutable copy of
this with just the issueDetectedDeviceCount field changed. |
DeviceComplianceScriptRunSummary |
withLastScriptRunDateTime(OffsetDateTime lastScriptRunDateTime)
Returns an immutable copy of
this with just the lastScriptRunDateTime field changed. |
DeviceComplianceScriptRunSummary |
withNoIssueDetectedDeviceCount(Integer noIssueDetectedDeviceCount)
Returns an immutable copy of
this with just the noIssueDetectedDeviceCount field changed. |
protected Integer noIssueDetectedDeviceCount
protected Integer issueDetectedDeviceCount
protected Integer detectionScriptErrorDeviceCount
protected Integer detectionScriptPendingDeviceCount
protected OffsetDateTime lastScriptRunDateTime
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static DeviceComplianceScriptRunSummary.Builder builderDeviceComplianceScriptRunSummary()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class Entitypublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class Entitypublic Optional<Integer> getNoIssueDetectedDeviceCount()
public DeviceComplianceScriptRunSummary withNoIssueDetectedDeviceCount(Integer noIssueDetectedDeviceCount)
this with just the noIssueDetectedDeviceCount field changed. Field description below. The field
name is also added to an internal map of changed fields in the returned object
so that when this.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. Valid values -2147483648 to 2147483647”
noIssueDetectedDeviceCount - new value of noIssueDetectedDeviceCount field (as defined in service metadata)this with just the noIssueDetectedDeviceCount field changedpublic Optional<Integer> getIssueDetectedDeviceCount()
public DeviceComplianceScriptRunSummary withIssueDetectedDeviceCount(Integer issueDetectedDeviceCount)
this with just the issueDetectedDeviceCount field changed. Field description below. The field name
is also added to an internal map of changed fields in the returned object so
that when this.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. Valid values - 2147483648 to 2147483647”
issueDetectedDeviceCount - new value of issueDetectedDeviceCount field (as defined in service metadata)this with just the issueDetectedDeviceCount field changedpublic Optional<Integer> getDetectionScriptErrorDeviceCount()
public DeviceComplianceScriptRunSummary withDetectionScriptErrorDeviceCount(Integer detectionScriptErrorDeviceCount)
this with just the detectionScriptErrorDeviceCount field changed. Field description below. The
field name is also added to an internal map of changed fields in the returned
object so that when this.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. Valid values -2147483648 to 2147483647”
detectionScriptErrorDeviceCount - new value of detectionScriptErrorDeviceCount field (as defined in service metadata)this with just the detectionScriptErrorDeviceCount field changedpublic Optional<Integer> getDetectionScriptPendingDeviceCount()
public DeviceComplianceScriptRunSummary withDetectionScriptPendingDeviceCount(Integer detectionScriptPendingDeviceCount)
this with just the detectionScriptPendingDeviceCount field changed. Field description below. The
field name is also added to an internal map of changed fields in the returned
object so that when this.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 compliance script. Valid values -2147483648 to 2147483647”
detectionScriptPendingDeviceCount - new value of detectionScriptPendingDeviceCount field (as defined in service metadata)this with just the detectionScriptPendingDeviceCount field changedpublic Optional<OffsetDateTime> getLastScriptRunDateTime()
public DeviceComplianceScriptRunSummary withLastScriptRunDateTime(OffsetDateTime lastScriptRunDateTime)
this with just the lastScriptRunDateTime field changed. Field description below. The field name is
also added to an internal map of changed fields in the returned object so that
when this.patch() is called (if available)on the returned object only
the changed fields are submitted.
“Last run time for the script across all devices”
lastScriptRunDateTime - new value of lastScriptRunDateTime field (as defined in service metadata)this with just the lastScriptRunDateTime field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic DeviceComplianceScriptRunSummary patch()
this with changed fields reset.public DeviceComplianceScriptRunSummary put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.