public class DeviceCompliancePolicyDeviceStateSummary extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
DeviceCompliancePolicyDeviceStateSummary.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected Integer |
compliantDeviceCount |
protected Integer |
configManagerCount |
protected Integer |
conflictDeviceCount |
protected Integer |
errorDeviceCount |
protected Integer |
inGracePeriodCount |
protected Integer |
nonCompliantDeviceCount |
protected Integer |
notApplicableDeviceCount |
protected Integer |
remediatedDeviceCount |
protected Integer |
unknownDeviceCount |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
DeviceCompliancePolicyDeviceStateSummary() |
| Modifier and Type | Method and Description |
|---|---|
static DeviceCompliancePolicyDeviceStateSummary.Builder |
builderDeviceCompliancePolicyDeviceStateSummary()
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> |
getCompliantDeviceCount()
“Number of compliant devices”
|
Optional<Integer> |
getConfigManagerCount()
“Number of devices that have compliance managed by System Center Configuration
Manager”
|
Optional<Integer> |
getConflictDeviceCount()
“Number of conflict devices”
|
Optional<Integer> |
getErrorDeviceCount()
“Number of error devices”
|
Optional<Integer> |
getInGracePeriodCount()
“Number of devices that are in grace period”
|
Optional<Integer> |
getNonCompliantDeviceCount()
“Number of NonCompliant devices”
|
Optional<Integer> |
getNotApplicableDeviceCount()
“Number of not applicable devices”
|
Optional<Integer> |
getRemediatedDeviceCount()
“Number of remediated devices”
|
Optional<Integer> |
getUnknownDeviceCount()
“Number of unknown devices”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
DeviceCompliancePolicyDeviceStateSummary |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
DeviceCompliancePolicyDeviceStateSummary |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
DeviceCompliancePolicyDeviceStateSummary |
withCompliantDeviceCount(Integer compliantDeviceCount)
Returns an immutable copy of
this with just the compliantDeviceCount field changed. |
DeviceCompliancePolicyDeviceStateSummary |
withConfigManagerCount(Integer configManagerCount)
Returns an immutable copy of
this with just the configManagerCount field changed. |
DeviceCompliancePolicyDeviceStateSummary |
withConflictDeviceCount(Integer conflictDeviceCount)
Returns an immutable copy of
this with just the conflictDeviceCount field changed. |
DeviceCompliancePolicyDeviceStateSummary |
withErrorDeviceCount(Integer errorDeviceCount)
Returns an immutable copy of
this with just the errorDeviceCount
field changed. |
DeviceCompliancePolicyDeviceStateSummary |
withInGracePeriodCount(Integer inGracePeriodCount)
Returns an immutable copy of
this with just the inGracePeriodCount field changed. |
DeviceCompliancePolicyDeviceStateSummary |
withNonCompliantDeviceCount(Integer nonCompliantDeviceCount)
Returns an immutable copy of
this with just the nonCompliantDeviceCount field changed. |
DeviceCompliancePolicyDeviceStateSummary |
withNotApplicableDeviceCount(Integer notApplicableDeviceCount)
Returns an immutable copy of
this with just the notApplicableDeviceCount field changed. |
DeviceCompliancePolicyDeviceStateSummary |
withRemediatedDeviceCount(Integer remediatedDeviceCount)
Returns an immutable copy of
this with just the remediatedDeviceCount field changed. |
DeviceCompliancePolicyDeviceStateSummary |
withUnknownDeviceCount(Integer unknownDeviceCount)
Returns an immutable copy of
this with just the unknownDeviceCount field changed. |
protected Integer inGracePeriodCount
protected Integer configManagerCount
protected Integer unknownDeviceCount
protected Integer notApplicableDeviceCount
protected Integer compliantDeviceCount
protected Integer remediatedDeviceCount
protected Integer nonCompliantDeviceCount
protected Integer errorDeviceCount
protected Integer conflictDeviceCount
protected DeviceCompliancePolicyDeviceStateSummary()
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static DeviceCompliancePolicyDeviceStateSummary.Builder builderDeviceCompliancePolicyDeviceStateSummary()
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> getInGracePeriodCount()
public DeviceCompliancePolicyDeviceStateSummary withInGracePeriodCount(Integer inGracePeriodCount)
this with just the inGracePeriodCount 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 that are in grace period”
inGracePeriodCount - new value of inGracePeriodCount field (as defined in service metadata)this with just the inGracePeriodCount field changedpublic Optional<Integer> getConfigManagerCount()
public DeviceCompliancePolicyDeviceStateSummary withConfigManagerCount(Integer configManagerCount)
this with just the configManagerCount 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 that have compliance managed by System Center Configuration Manager”
configManagerCount - new value of configManagerCount field (as defined in service metadata)this with just the configManagerCount field changedpublic Optional<Integer> getUnknownDeviceCount()
public DeviceCompliancePolicyDeviceStateSummary withUnknownDeviceCount(Integer unknownDeviceCount)
this with just the unknownDeviceCount 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 unknown devices”
unknownDeviceCount - new value of unknownDeviceCount field (as defined in service metadata)this with just the unknownDeviceCount field changedpublic Optional<Integer> getNotApplicableDeviceCount()
public DeviceCompliancePolicyDeviceStateSummary withNotApplicableDeviceCount(Integer notApplicableDeviceCount)
this with just the notApplicableDeviceCount 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 not applicable devices”
notApplicableDeviceCount - new value of notApplicableDeviceCount field (as defined in service metadata)this with just the notApplicableDeviceCount field changedpublic Optional<Integer> getCompliantDeviceCount()
public DeviceCompliancePolicyDeviceStateSummary withCompliantDeviceCount(Integer compliantDeviceCount)
this with just the compliantDeviceCount 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 compliant devices”
compliantDeviceCount - new value of compliantDeviceCount field (as defined in service metadata)this with just the compliantDeviceCount field changedpublic Optional<Integer> getRemediatedDeviceCount()
public DeviceCompliancePolicyDeviceStateSummary 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.
“Number of remediated devices”
remediatedDeviceCount - new value of remediatedDeviceCount field (as defined in service metadata)this with just the remediatedDeviceCount field changedpublic Optional<Integer> getNonCompliantDeviceCount()
public DeviceCompliancePolicyDeviceStateSummary withNonCompliantDeviceCount(Integer nonCompliantDeviceCount)
this with just the nonCompliantDeviceCount 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 NonCompliant devices”
nonCompliantDeviceCount - new value of nonCompliantDeviceCount field (as defined in service metadata)this with just the nonCompliantDeviceCount field changedpublic Optional<Integer> getErrorDeviceCount()
public DeviceCompliancePolicyDeviceStateSummary withErrorDeviceCount(Integer errorDeviceCount)
this with just the errorDeviceCount
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 error devices”
errorDeviceCount - new value of errorDeviceCount field (as defined in service metadata)this with just the errorDeviceCount field changedpublic Optional<Integer> getConflictDeviceCount()
public DeviceCompliancePolicyDeviceStateSummary withConflictDeviceCount(Integer conflictDeviceCount)
this with just the conflictDeviceCount 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 conflict devices”
conflictDeviceCount - new value of conflictDeviceCount field (as defined in service metadata)this with just the conflictDeviceCount field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic DeviceCompliancePolicyDeviceStateSummary patch()
this with changed fields reset.public DeviceCompliancePolicyDeviceStateSummary put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.