Class DeviceConfigurationUserStateSummary

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

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

      • compliantUserCount

        protected Integer compliantUserCount
      • conflictUserCount

        protected Integer conflictUserCount
      • errorUserCount

        protected Integer errorUserCount
      • nonCompliantUserCount

        protected Integer nonCompliantUserCount
      • notApplicableUserCount

        protected Integer notApplicableUserCount
      • remediatedUserCount

        protected Integer remediatedUserCount
      • unknownUserCount

        protected Integer unknownUserCount
    • Constructor Detail

      • DeviceConfigurationUserStateSummary

        protected DeviceConfigurationUserStateSummary()
    • Method Detail

      • odataTypeName

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

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

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

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

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

        public DeviceConfigurationUserStateSummary 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
      • getErrorUserCount

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

        public DeviceConfigurationUserStateSummary 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 error users”

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

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

        public DeviceConfigurationUserStateSummary 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 NonCompliant users”

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

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

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

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

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

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

        public DeviceConfigurationUserStateSummary 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 DeviceConfigurationUserStateSummary 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 DeviceConfigurationUserStateSummary 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