Class DeviceComplianceDeviceOverview

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

    public class DeviceComplianceDeviceOverview
    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

      • DeviceComplianceDeviceOverview

        protected DeviceComplianceDeviceOverview()
    • Method Detail

      • odataTypeName

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

        public static DeviceComplianceDeviceOverview.Builder builderDeviceComplianceDeviceOverview()
        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 DeviceComplianceDeviceOverview 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 devices”
        Returns:
        property errorCount
      • withErrorCount

        public DeviceComplianceDeviceOverview 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
      • getFailedCount

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

        public DeviceComplianceDeviceOverview 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 devices”

        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 DeviceComplianceDeviceOverview 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 devices”
        Returns:
        property notApplicableCount
      • withNotApplicableCount

        public DeviceComplianceDeviceOverview 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
      • getPendingCount

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

        public DeviceComplianceDeviceOverview 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 devices”

        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 devices”
        Returns:
        property successCount
      • withSuccessCount

        public DeviceComplianceDeviceOverview 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 devices”

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