Class SettingStateDeviceSummary

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

    public class SettingStateDeviceSummary
    extends Entity
    implements com.github.davidmoten.odata.client.ODataEntityType
    “Device Compilance Policy and Configuration for a Setting State summary”
    • Field Detail

      • compliantDeviceCount

        protected Integer compliantDeviceCount
      • conflictDeviceCount

        protected Integer conflictDeviceCount
      • errorDeviceCount

        protected Integer errorDeviceCount
      • instancePath

        protected String instancePath
      • nonCompliantDeviceCount

        protected Integer nonCompliantDeviceCount
      • notApplicableDeviceCount

        protected Integer notApplicableDeviceCount
      • remediatedDeviceCount

        protected Integer remediatedDeviceCount
      • settingName

        protected String settingName
      • unknownDeviceCount

        protected Integer unknownDeviceCount
    • Constructor Detail

      • SettingStateDeviceSummary

        protected SettingStateDeviceSummary()
    • Method Detail

      • odataTypeName

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

        public static SettingStateDeviceSummary.Builder builderSettingStateDeviceSummary()
        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()
        “Device Compliant count for the setting”
        Returns:
        property compliantDeviceCount
      • withCompliantDeviceCount

        public SettingStateDeviceSummary 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.

        “Device Compliant count for the setting”

        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()
        “Device conflict error count for the setting”
        Returns:
        property conflictDeviceCount
      • withConflictDeviceCount

        public SettingStateDeviceSummary 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.

        “Device conflict error count for the setting”

        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()
        “Device error count for the setting”
        Returns:
        property errorDeviceCount
      • withErrorDeviceCount

        public SettingStateDeviceSummary 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.

        “Device error count for the setting”

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

        public Optional<String> getInstancePath()
        “Name of the InstancePath for the setting”
        Returns:
        property instancePath
      • withInstancePath

        public SettingStateDeviceSummary withInstancePath​(String instancePath)
        Returns an immutable copy of this with just the instancePath 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 the InstancePath for the setting”

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

        public Optional<Integer> getNonCompliantDeviceCount()
        “Device NonCompliant count for the setting”
        Returns:
        property nonCompliantDeviceCount
      • withNonCompliantDeviceCount

        public SettingStateDeviceSummary 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.

        “Device NonCompliant count for the setting”

        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()
        “Device Not Applicable count for the setting”
        Returns:
        property notApplicableDeviceCount
      • withNotApplicableDeviceCount

        public SettingStateDeviceSummary 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.

        “Device Not Applicable count for the setting”

        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()
        “Device Compliant count for the setting”
        Returns:
        property remediatedDeviceCount
      • withRemediatedDeviceCount

        public SettingStateDeviceSummary 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.

        “Device Compliant count for the setting”

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

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

        public SettingStateDeviceSummary 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 the setting”

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

        public Optional<Integer> getUnknownDeviceCount()
        “Device Unkown count for the setting”
        Returns:
        property unknownDeviceCount
      • withUnknownDeviceCount

        public SettingStateDeviceSummary 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.

        “Device Unkown count for the setting”

        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 SettingStateDeviceSummary 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 SettingStateDeviceSummary 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