Class DeviceConfigurationDeviceStateSummary

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

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

      • compliantDeviceCount

        protected Integer compliantDeviceCount
      • conflictDeviceCount

        protected Integer conflictDeviceCount
      • errorDeviceCount

        protected Integer errorDeviceCount
      • nonCompliantDeviceCount

        protected Integer nonCompliantDeviceCount
      • notApplicableDeviceCount

        protected Integer notApplicableDeviceCount
      • remediatedDeviceCount

        protected Integer remediatedDeviceCount
      • unknownDeviceCount

        protected Integer unknownDeviceCount
    • Constructor Detail

      • DeviceConfigurationDeviceStateSummary

        protected DeviceConfigurationDeviceStateSummary()
    • Method Detail

      • odataTypeName

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

        public static DeviceConfigurationDeviceStateSummary.Builder builderDeviceConfigurationDeviceStateSummary()
        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 DeviceConfigurationDeviceStateSummary 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
      • getConflictDeviceCount

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

        public DeviceConfigurationDeviceStateSummary 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 DeviceConfigurationDeviceStateSummary 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
      • getNonCompliantDeviceCount

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

        public DeviceConfigurationDeviceStateSummary 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 DeviceConfigurationDeviceStateSummary 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 DeviceConfigurationDeviceStateSummary 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 DeviceConfigurationDeviceStateSummary 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 DeviceConfigurationDeviceStateSummary 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 DeviceConfigurationDeviceStateSummary 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