public class DeviceHealthScriptRemediationHistoryData extends Object implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
DeviceHealthScriptRemediationHistoryData.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected com.github.davidmoten.odata.client.ContextPath |
contextPath |
protected LocalDate |
date |
protected Integer |
noIssueDeviceCount |
protected String |
odataType |
protected Integer |
remediatedDeviceCount |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
| Modifier | Constructor and Description |
|---|---|
protected |
DeviceHealthScriptRemediationHistoryData() |
| Modifier and Type | Method and Description |
|---|---|
static DeviceHealthScriptRemediationHistoryData.Builder |
builder()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<LocalDate> |
getDate()
“The date on which devices were remediated by the device health script.”
|
Optional<Integer> |
getNoIssueDeviceCount()
“The number of devices that were found to have no issue by the device health
script.”
|
Optional<Integer> |
getRemediatedDeviceCount()
“The number of devices remediated by the device health script.”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
DeviceHealthScriptRemediationHistoryData |
withDate(LocalDate date)
Returns an immutable copy of
this with just the date field
changed. |
DeviceHealthScriptRemediationHistoryData |
withNoIssueDeviceCount(Integer noIssueDeviceCount)
Returns an immutable copy of
this with just the noIssueDeviceCount field changed. |
DeviceHealthScriptRemediationHistoryData |
withRemediatedDeviceCount(Integer remediatedDeviceCount)
Returns an immutable copy of
this with just the remediatedDeviceCount field changed. |
protected com.github.davidmoten.odata.client.ContextPath contextPath
protected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected String odataType
protected LocalDate date
protected Integer remediatedDeviceCount
protected Integer noIssueDeviceCount
protected DeviceHealthScriptRemediationHistoryData()
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic Optional<LocalDate> getDate()
public DeviceHealthScriptRemediationHistoryData withDate(LocalDate date)
this with just the date 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.
“The date on which devices were remediated by the device health script.”
date - new value of date field (as defined in service metadata)this with just the date field changedpublic Optional<Integer> getRemediatedDeviceCount()
public DeviceHealthScriptRemediationHistoryData withRemediatedDeviceCount(Integer remediatedDeviceCount)
this with just the remediatedDeviceCount 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.
“The number of devices remediated by the device health script.”
remediatedDeviceCount - new value of remediatedDeviceCount field (as defined in service metadata)this with just the remediatedDeviceCount field changedpublic Optional<Integer> getNoIssueDeviceCount()
public DeviceHealthScriptRemediationHistoryData withNoIssueDeviceCount(Integer noIssueDeviceCount)
this with just the noIssueDeviceCount 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.
“The number of devices that were found to have no issue by the device health script.”
noIssueDeviceCount - new value of noIssueDeviceCount field (as defined in service metadata)this with just the noIssueDeviceCount field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypepublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepublic static DeviceHealthScriptRemediationHistoryData.Builder builder()
Copyright © 2018–2020. All rights reserved.