Class DeviceManagementIntentDeviceSettingStateSummary

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

    public class DeviceManagementIntentDeviceSettingStateSummary
    extends Entity
    implements com.github.davidmoten.odata.client.ODataEntityType
    “Entity that represents device setting state summary for an intent”
    • Field Detail

      • compliantCount

        protected Integer compliantCount
      • conflictCount

        protected Integer conflictCount
      • errorCount

        protected Integer errorCount
      • nonCompliantCount

        protected Integer nonCompliantCount
      • notApplicableCount

        protected Integer notApplicableCount
      • remediatedCount

        protected Integer remediatedCount
      • settingName

        protected String settingName
    • Constructor Detail

      • DeviceManagementIntentDeviceSettingStateSummary

        protected DeviceManagementIntentDeviceSettingStateSummary()
    • Method Detail

      • odataTypeName

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

        public static DeviceManagementIntentDeviceSettingStateSummary.Builder builderDeviceManagementIntentDeviceSettingStateSummary()
        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
      • getCompliantCount

        public Optional<Integer> getCompliantCount()
        “Number of compliant devices”
        Returns:
        property compliantCount
      • withCompliantCount

        public DeviceManagementIntentDeviceSettingStateSummary withCompliantCount​(Integer compliantCount)
        Returns an immutable copy of this with just the compliantCount 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:
        compliantCount - new value of compliantCount field (as defined in service metadata)
        Returns:
        immutable copy of this with just the compliantCount field changed
      • getConflictCount

        public Optional<Integer> getConflictCount()
        “Number of devices in conflict”
        Returns:
        property conflictCount
      • withConflictCount

        public DeviceManagementIntentDeviceSettingStateSummary withConflictCount​(Integer conflictCount)
        Returns an immutable copy of this with just the conflictCount 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 in conflict”

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

        public Optional<Integer> getErrorCount()
        “Number of error devices”
        Returns:
        property errorCount
      • withErrorCount

        public DeviceManagementIntentDeviceSettingStateSummary withErrorCount​(Integer errorCount)
        Returns an immutable copy of this with just the errorCount 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:
        errorCount - new value of errorCount field (as defined in service metadata)
        Returns:
        immutable copy of this with just the errorCount field changed
      • getNonCompliantCount

        public Optional<Integer> getNonCompliantCount()
        “Number of non compliant devices”
        Returns:
        property nonCompliantCount
      • withNonCompliantCount

        public DeviceManagementIntentDeviceSettingStateSummary withNonCompliantCount​(Integer nonCompliantCount)
        Returns an immutable copy of this with just the nonCompliantCount 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 non compliant devices”

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

        public Optional<Integer> getNotApplicableCount()
        “Number of not applicable devices”
        Returns:
        property notApplicableCount
      • withNotApplicableCount

        public DeviceManagementIntentDeviceSettingStateSummary withNotApplicableCount​(Integer notApplicableCount)
        Returns an immutable copy of this with just the notApplicableCount 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:
        notApplicableCount - new value of notApplicableCount field (as defined in service metadata)
        Returns:
        immutable copy of this with just the notApplicableCount field changed
      • getRemediatedCount

        public Optional<Integer> getRemediatedCount()
        “Number of remediated devices”
        Returns:
        property remediatedCount
      • withRemediatedCount

        public DeviceManagementIntentDeviceSettingStateSummary withRemediatedCount​(Integer remediatedCount)
        Returns an immutable copy of this with just the remediatedCount 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:
        remediatedCount - new value of remediatedCount field (as defined in service metadata)
        Returns:
        immutable copy of this with just the remediatedCount field changed
      • getSettingName

        public Optional<String> getSettingName()
        “Name of a setting”
        Returns:
        property settingName
      • withSettingName

        public DeviceManagementIntentDeviceSettingStateSummary withSettingName​(String settingName)
        Returns an immutable copy of this with just the settingName 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.

        “Name of a setting”

        Parameters:
        settingName - new value of settingName field (as defined in service metadata)
        Returns:
        immutable copy of this with just the settingName 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 DeviceManagementIntentDeviceSettingStateSummary 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 DeviceManagementIntentDeviceSettingStateSummary 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