Class SoftwareUpdateStatusSummary

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

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

      • compliantDeviceCount

        protected Integer compliantDeviceCount
      • compliantUserCount

        protected Integer compliantUserCount
      • conflictDeviceCount

        protected Integer conflictDeviceCount
      • conflictUserCount

        protected Integer conflictUserCount
      • displayName

        protected String displayName
      • errorDeviceCount

        protected Integer errorDeviceCount
      • errorUserCount

        protected Integer errorUserCount
      • nonCompliantDeviceCount

        protected Integer nonCompliantDeviceCount
      • nonCompliantUserCount

        protected Integer nonCompliantUserCount
      • notApplicableDeviceCount

        protected Integer notApplicableDeviceCount
      • notApplicableUserCount

        protected Integer notApplicableUserCount
      • remediatedDeviceCount

        protected Integer remediatedDeviceCount
      • remediatedUserCount

        protected Integer remediatedUserCount
      • unknownDeviceCount

        protected Integer unknownDeviceCount
      • unknownUserCount

        protected Integer unknownUserCount
    • Constructor Detail

      • SoftwareUpdateStatusSummary

        protected SoftwareUpdateStatusSummary()
    • Method Detail

      • odataTypeName

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

        public static SoftwareUpdateStatusSummary.Builder builderSoftwareUpdateStatusSummary()
        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 SoftwareUpdateStatusSummary 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
      • getCompliantUserCount

        public Optional<Integer> getCompliantUserCount()
        “Number of compliant users.”
        Returns:
        property compliantUserCount
      • withCompliantUserCount

        public SoftwareUpdateStatusSummary withCompliantUserCount​(Integer compliantUserCount)
        Returns an immutable copy of this with just the compliantUserCount 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 users.”

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

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

        public SoftwareUpdateStatusSummary 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
      • getConflictUserCount

        public Optional<Integer> getConflictUserCount()
        “Number of conflict users.”
        Returns:
        property conflictUserCount
      • withConflictUserCount

        public SoftwareUpdateStatusSummary withConflictUserCount​(Integer conflictUserCount)
        Returns an immutable copy of this with just the conflictUserCount 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 users.”

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

        public Optional<String> getDisplayName()
        “The name of the policy.”
        Returns:
        property displayName
      • withDisplayName

        public SoftwareUpdateStatusSummary withDisplayName​(String displayName)
        Returns an immutable copy of this with just the displayName 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.

        “The name of the policy.”

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

        public Optional<Integer> getErrorDeviceCount()
        “Number of devices had error.”
        Returns:
        property errorDeviceCount
      • withErrorDeviceCount

        public SoftwareUpdateStatusSummary 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 devices had error.”

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

        public Optional<Integer> getErrorUserCount()
        “Number of users had error.”
        Returns:
        property errorUserCount
      • withErrorUserCount

        public SoftwareUpdateStatusSummary withErrorUserCount​(Integer errorUserCount)
        Returns an immutable copy of this with just the errorUserCount 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 users had error.”

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

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

        public SoftwareUpdateStatusSummary 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 non compliant devices.”

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

        public Optional<Integer> getNonCompliantUserCount()
        “Number of non compliant users.”
        Returns:
        property nonCompliantUserCount
      • withNonCompliantUserCount

        public SoftwareUpdateStatusSummary withNonCompliantUserCount​(Integer nonCompliantUserCount)
        Returns an immutable copy of this with just the nonCompliantUserCount 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 users.”

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

        public Optional<Integer> getNotApplicableDeviceCount()
        “Number of not applicable devices.”
        Returns:
        property notApplicableDeviceCount
      • withNotApplicableDeviceCount

        public SoftwareUpdateStatusSummary 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
      • getNotApplicableUserCount

        public Optional<Integer> getNotApplicableUserCount()
        “Number of not applicable users.”
        Returns:
        property notApplicableUserCount
      • withNotApplicableUserCount

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

        public Optional<Integer> getRemediatedDeviceCount()
        “Number of remediated devices.”
        Returns:
        property remediatedDeviceCount
      • withRemediatedDeviceCount

        public SoftwareUpdateStatusSummary 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
      • getRemediatedUserCount

        public Optional<Integer> getRemediatedUserCount()
        “Number of remediated users.”
        Returns:
        property remediatedUserCount
      • withRemediatedUserCount

        public SoftwareUpdateStatusSummary withRemediatedUserCount​(Integer remediatedUserCount)
        Returns an immutable copy of this with just the remediatedUserCount 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 users.”

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

        public Optional<Integer> getUnknownDeviceCount()
        “Number of unknown devices.”
        Returns:
        property unknownDeviceCount
      • withUnknownDeviceCount

        public SoftwareUpdateStatusSummary 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
      • getUnknownUserCount

        public Optional<Integer> getUnknownUserCount()
        “Number of unknown users.”
        Returns:
        property unknownUserCount
      • withUnknownUserCount

        public SoftwareUpdateStatusSummary withUnknownUserCount​(Integer unknownUserCount)
        Returns an immutable copy of this with just the unknownUserCount 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 users.”

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