Class DeviceComplianceUserOverview

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

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

      • configurationVersion

        protected Integer configurationVersion
      • errorCount

        protected Integer errorCount
      • failedCount

        protected Integer failedCount
      • notApplicableCount

        protected Integer notApplicableCount
      • pendingCount

        protected Integer pendingCount
      • successCount

        protected Integer successCount
    • Constructor Detail

      • DeviceComplianceUserOverview

        protected DeviceComplianceUserOverview()
    • Method Detail

      • odataTypeName

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

        public static DeviceComplianceUserOverview.Builder builderDeviceComplianceUserOverview()
        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
      • getConfigurationVersion

        public Optional<Integer> getConfigurationVersion()
        “Version of the policy for that overview”
        Returns:
        property configurationVersion
      • withConfigurationVersion

        public DeviceComplianceUserOverview withConfigurationVersion​(Integer configurationVersion)
        Returns an immutable copy of this with just the configurationVersion 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.

        “Version of the policy for that overview”

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

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

        public DeviceComplianceUserOverview 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 Users”

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

        public Optional<Integer> getFailedCount()
        “Number of failed Users”
        Returns:
        property failedCount
      • withFailedCount

        public DeviceComplianceUserOverview withFailedCount​(Integer failedCount)
        Returns an immutable copy of this with just the failedCount 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 failed Users”

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

        public Optional<OffsetDateTime> getLastUpdateDateTime()
        “Last update time”
        Returns:
        property lastUpdateDateTime
      • withLastUpdateDateTime

        public DeviceComplianceUserOverview withLastUpdateDateTime​(OffsetDateTime lastUpdateDateTime)
        Returns an immutable copy of this with just the lastUpdateDateTime 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.

        “Last update time”

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

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

        public DeviceComplianceUserOverview 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 users”

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

        public Optional<Integer> getPendingCount()
        “Number of pending Users”
        Returns:
        property pendingCount
      • withPendingCount

        public DeviceComplianceUserOverview withPendingCount​(Integer pendingCount)
        Returns an immutable copy of this with just the pendingCount 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 pending Users”

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

        public Optional<Integer> getSuccessCount()
        “Number of succeeded Users”
        Returns:
        property successCount
      • withSuccessCount

        public DeviceComplianceUserOverview withSuccessCount​(Integer successCount)
        Returns an immutable copy of this with just the successCount 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 succeeded Users”

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