Class MobileAppInstallSummary

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

    public class MobileAppInstallSummary
    extends Entity
    implements com.github.davidmoten.odata.client.ODataEntityType
    “Contains properties for the installation summary of a mobile app.”
    • Field Detail

      • failedDeviceCount

        protected Integer failedDeviceCount
      • failedUserCount

        protected Integer failedUserCount
      • installedDeviceCount

        protected Integer installedDeviceCount
      • installedUserCount

        protected Integer installedUserCount
      • notApplicableDeviceCount

        protected Integer notApplicableDeviceCount
      • notApplicableUserCount

        protected Integer notApplicableUserCount
      • notInstalledDeviceCount

        protected Integer notInstalledDeviceCount
      • notInstalledUserCount

        protected Integer notInstalledUserCount
      • pendingInstallDeviceCount

        protected Integer pendingInstallDeviceCount
      • pendingInstallUserCount

        protected Integer pendingInstallUserCount
    • Constructor Detail

      • MobileAppInstallSummary

        protected MobileAppInstallSummary()
    • Method Detail

      • odataTypeName

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

        public static MobileAppInstallSummary.Builder builderMobileAppInstallSummary()
        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
      • getFailedDeviceCount

        public Optional<Integer> getFailedDeviceCount()
        “Number of Devices that have failed to install this app.”
        Returns:
        property failedDeviceCount
      • withFailedDeviceCount

        public MobileAppInstallSummary withFailedDeviceCount​(Integer failedDeviceCount)
        Returns an immutable copy of this with just the failedDeviceCount 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 that have failed to install this app.”

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

        public Optional<Integer> getFailedUserCount()
        “Number of Users that have 1 or more device that failed to install this app.”
        Returns:
        property failedUserCount
      • withFailedUserCount

        public MobileAppInstallSummary withFailedUserCount​(Integer failedUserCount)
        Returns an immutable copy of this with just the failedUserCount 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 that have 1 or more device that failed to install this app.”

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

        public Optional<Integer> getInstalledDeviceCount()
        “Number of Devices that have successfully installed this app.”
        Returns:
        property installedDeviceCount
      • withInstalledDeviceCount

        public MobileAppInstallSummary withInstalledDeviceCount​(Integer installedDeviceCount)
        Returns an immutable copy of this with just the installedDeviceCount 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 that have successfully installed this app.”

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

        public Optional<Integer> getInstalledUserCount()
        “Number of Users whose devices have all succeeded to install this app.”
        Returns:
        property installedUserCount
      • withInstalledUserCount

        public MobileAppInstallSummary withInstalledUserCount​(Integer installedUserCount)
        Returns an immutable copy of this with just the installedUserCount 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 whose devices have all succeeded to install this app.”

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

        public Optional<Integer> getNotApplicableDeviceCount()
        “Number of Devices that are not applicable for this app.”
        Returns:
        property notApplicableDeviceCount
      • withNotApplicableDeviceCount

        public MobileAppInstallSummary 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 Devices that are not applicable for this app.”

        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 Users whose devices were all not applicable for this app.”
        Returns:
        property notApplicableUserCount
      • withNotApplicableUserCount

        public MobileAppInstallSummary 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 Users whose devices were all not applicable for this app.”

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

        public Optional<Integer> getNotInstalledDeviceCount()
        “Number of Devices that does not have this app installed.”
        Returns:
        property notInstalledDeviceCount
      • withNotInstalledDeviceCount

        public MobileAppInstallSummary withNotInstalledDeviceCount​(Integer notInstalledDeviceCount)
        Returns an immutable copy of this with just the notInstalledDeviceCount 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 that does not have this app installed.”

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

        public Optional<Integer> getNotInstalledUserCount()
        “Number of Users that have 1 or more devices that did not install this app.”
        Returns:
        property notInstalledUserCount
      • withNotInstalledUserCount

        public MobileAppInstallSummary withNotInstalledUserCount​(Integer notInstalledUserCount)
        Returns an immutable copy of this with just the notInstalledUserCount 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 that have 1 or more devices that did not install this app.”

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

        public Optional<Integer> getPendingInstallDeviceCount()
        “Number of Devices that have been notified to install this app.”
        Returns:
        property pendingInstallDeviceCount
      • withPendingInstallDeviceCount

        public MobileAppInstallSummary withPendingInstallDeviceCount​(Integer pendingInstallDeviceCount)
        Returns an immutable copy of this with just the pendingInstallDeviceCount 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 that have been notified to install this app.”

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

        public Optional<Integer> getPendingInstallUserCount()
        “Number of Users that have 1 or more device that have been notified to install this app and have 0 devices with failures.”
        Returns:
        property pendingInstallUserCount
      • withPendingInstallUserCount

        public MobileAppInstallSummary withPendingInstallUserCount​(Integer pendingInstallUserCount)
        Returns an immutable copy of this with just the pendingInstallUserCount 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 that have 1 or more device that have been notified to install this app and have 0 devices with failures.”

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