Class DeviceCompliancePolicyDeviceStateSummary

  • All Implemented Interfaces:
    com.github.davidmoten.odata.client.ODataEntityType, com.github.davidmoten.odata.client.ODataType

    public class DeviceCompliancePolicyDeviceStateSummary
    extends Entity
    implements com.github.davidmoten.odata.client.ODataEntityType
    • Field Detail

      • compliantDeviceCount

        protected Integer compliantDeviceCount
      • configManagerCount

        protected Integer configManagerCount
      • conflictDeviceCount

        protected Integer conflictDeviceCount
      • errorDeviceCount

        protected Integer errorDeviceCount
      • inGracePeriodCount

        protected Integer inGracePeriodCount
      • nonCompliantDeviceCount

        protected Integer nonCompliantDeviceCount
      • notApplicableDeviceCount

        protected Integer notApplicableDeviceCount
      • remediatedDeviceCount

        protected Integer remediatedDeviceCount
      • unknownDeviceCount

        protected Integer unknownDeviceCount
    • Constructor Detail

      • DeviceCompliancePolicyDeviceStateSummary

        protected DeviceCompliancePolicyDeviceStateSummary()
    • Method Detail

      • odataTypeName

        public String odataTypeName()
        Specified by:
        odataTypeName in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        odataTypeName in class Entity
      • builderDeviceCompliancePolicyDeviceStateSummary

        public static DeviceCompliancePolicyDeviceStateSummary.Builder builderDeviceCompliancePolicyDeviceStateSummary()
        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:
        getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityType
        Overrides:
        getChangedFields in class Entity
      • postInject

        public void postInject​(boolean addKeysToContextPath)
        Specified by:
        postInject in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        postInject in class Entity
      • getCompliantDeviceCount

        public Optional<Integer> getCompliantDeviceCount()
        “Number of compliant devices”
        Returns:
        property compliantDeviceCount
      • withCompliantDeviceCount

        public DeviceCompliancePolicyDeviceStateSummary withCompliantDeviceCount​(Integer compliantDeviceCount)
        Returns an immutable copy of 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”

        Parameters:
        compliantDeviceCount - new value of compliantDeviceCount field (as defined in service metadata)
        Returns:
        immutable copy of this with just the compliantDeviceCount field changed
      • getConfigManagerCount

        public Optional<Integer> getConfigManagerCount()
        “Number of devices that have compliance managed by System Center Configuration Manager”
        Returns:
        property configManagerCount
      • withConfigManagerCount

        public DeviceCompliancePolicyDeviceStateSummary withConfigManagerCount​(Integer configManagerCount)
        Returns an immutable copy of 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”

        Parameters:
        configManagerCount - new value of configManagerCount field (as defined in service metadata)
        Returns:
        immutable copy of this with just the configManagerCount field changed
      • getConflictDeviceCount

        public Optional<Integer> getConflictDeviceCount()
        “Number of conflict devices”
        Returns:
        property conflictDeviceCount
      • withConflictDeviceCount

        public DeviceCompliancePolicyDeviceStateSummary withConflictDeviceCount​(Integer conflictDeviceCount)
        Returns an immutable copy of 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”

        Parameters:
        conflictDeviceCount - new value of conflictDeviceCount field (as defined in service metadata)
        Returns:
        immutable copy of this with just the conflictDeviceCount field changed
      • getErrorDeviceCount

        public Optional<Integer> getErrorDeviceCount()
        “Number of error devices”
        Returns:
        property errorDeviceCount
      • withErrorDeviceCount

        public DeviceCompliancePolicyDeviceStateSummary withErrorDeviceCount​(Integer errorDeviceCount)
        Returns an immutable copy of 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”

        Parameters:
        errorDeviceCount - new value of errorDeviceCount field (as defined in service metadata)
        Returns:
        immutable copy of this with just the errorDeviceCount field changed
      • getInGracePeriodCount

        public Optional<Integer> getInGracePeriodCount()
        “Number of devices that are in grace period”
        Returns:
        property inGracePeriodCount
      • withInGracePeriodCount

        public DeviceCompliancePolicyDeviceStateSummary withInGracePeriodCount​(Integer inGracePeriodCount)
        Returns an immutable copy of 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”

        Parameters:
        inGracePeriodCount - new value of inGracePeriodCount field (as defined in service metadata)
        Returns:
        immutable copy of this with just the inGracePeriodCount field changed
      • getNonCompliantDeviceCount

        public Optional<Integer> getNonCompliantDeviceCount()
        “Number of NonCompliant devices”
        Returns:
        property nonCompliantDeviceCount
      • withNonCompliantDeviceCount

        public DeviceCompliancePolicyDeviceStateSummary withNonCompliantDeviceCount​(Integer nonCompliantDeviceCount)
        Returns an immutable copy of 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”

        Parameters:
        nonCompliantDeviceCount - new value of nonCompliantDeviceCount field (as defined in service metadata)
        Returns:
        immutable copy of this with just the nonCompliantDeviceCount field changed
      • getNotApplicableDeviceCount

        public Optional<Integer> getNotApplicableDeviceCount()
        “Number of not applicable devices”
        Returns:
        property notApplicableDeviceCount
      • withNotApplicableDeviceCount

        public DeviceCompliancePolicyDeviceStateSummary withNotApplicableDeviceCount​(Integer notApplicableDeviceCount)
        Returns an immutable copy of 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”

        Parameters:
        notApplicableDeviceCount - new value of notApplicableDeviceCount field (as defined in service metadata)
        Returns:
        immutable copy of this with just the notApplicableDeviceCount field changed
      • getRemediatedDeviceCount

        public Optional<Integer> getRemediatedDeviceCount()
        “Number of remediated devices”
        Returns:
        property remediatedDeviceCount
      • withRemediatedDeviceCount

        public DeviceCompliancePolicyDeviceStateSummary withRemediatedDeviceCount​(Integer remediatedDeviceCount)
        Returns an immutable copy of 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”

        Parameters:
        remediatedDeviceCount - new value of remediatedDeviceCount field (as defined in service metadata)
        Returns:
        immutable copy of this with just the remediatedDeviceCount field changed
      • getUnknownDeviceCount

        public Optional<Integer> getUnknownDeviceCount()
        “Number of unknown devices”
        Returns:
        property unknownDeviceCount
      • withUnknownDeviceCount

        public DeviceCompliancePolicyDeviceStateSummary withUnknownDeviceCount​(Integer unknownDeviceCount)
        Returns an immutable copy of 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”

        Parameters:
        unknownDeviceCount - new value of unknownDeviceCount field (as defined in service metadata)
        Returns:
        immutable copy of this with just the unknownDeviceCount field changed
      • getUnmappedFields

        public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
        Specified by:
        getUnmappedFields in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        getUnmappedFields in class Entity
      • patch

        public DeviceCompliancePolicyDeviceStateSummary patch()
        Submits only changed fields for update and returns an immutable copy of this with changed fields reset.
        Overrides:
        patch in class Entity
        Returns:
        a copy of this with changed fields reset
        Throws:
        com.github.davidmoten.odata.client.ClientException - if HTTP response is not as expected
      • put

        public DeviceCompliancePolicyDeviceStateSummary put()
        Submits all fields for update and returns an immutable copy of this with changed fields reset (they were ignored anyway).
        Overrides:
        put in class Entity
        Returns:
        a copy of this with changed fields reset
        Throws:
        com.github.davidmoten.odata.client.ClientException - if HTTP response is not as expected