Class DeviceOperatingSystemSummary

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

    public class DeviceOperatingSystemSummary
    extends Object
    implements com.github.davidmoten.odata.client.ODataType
    “Device operating system summary.”
    • Field Detail

      • contextPath

        protected com.github.davidmoten.odata.client.ContextPath contextPath
      • unmappedFields

        protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl unmappedFields
      • odataType

        protected String odataType
      • androidCorporateWorkProfileCount

        protected Integer androidCorporateWorkProfileCount
      • androidCount

        protected Integer androidCount
      • androidDedicatedCount

        protected Integer androidDedicatedCount
      • androidDeviceAdminCount

        protected Integer androidDeviceAdminCount
      • androidFullyManagedCount

        protected Integer androidFullyManagedCount
      • androidWorkProfileCount

        protected Integer androidWorkProfileCount
      • aospUserAssociatedCount

        protected Integer aospUserAssociatedCount
      • aospUserlessCount

        protected Integer aospUserlessCount
      • chromeOSCount

        protected Integer chromeOSCount
      • configMgrDeviceCount

        protected Integer configMgrDeviceCount
      • iosCount

        protected Integer iosCount
      • linuxCount

        protected Integer linuxCount
      • macOSCount

        protected Integer macOSCount
      • unknownCount

        protected Integer unknownCount
      • windowsCount

        protected Integer windowsCount
      • windowsMobileCount

        protected Integer windowsMobileCount
    • Constructor Detail

      • DeviceOperatingSystemSummary

        protected DeviceOperatingSystemSummary()
    • Method Detail

      • odataTypeName

        public String odataTypeName()
        Specified by:
        odataTypeName in interface com.github.davidmoten.odata.client.ODataType
      • getAndroidCorporateWorkProfileCount

        public Optional<Integer> getAndroidCorporateWorkProfileCount()
        “The count of Corporate work profile Android devices. Also known as Corporate Owned Personally Enabled (COPE). Valid values -1 to 2147483647”
        Returns:
        property androidCorporateWorkProfileCount
      • withAndroidCorporateWorkProfileCount

        public DeviceOperatingSystemSummary withAndroidCorporateWorkProfileCount​(Integer androidCorporateWorkProfileCount)
        Returns an immutable copy of this with just the androidCorporateWorkProfileCount 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 count of Corporate work profile Android devices. Also known as Corporate Owned Personally Enabled (COPE). Valid values -1 to 2147483647”

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

        public Optional<Integer> getAndroidCount()
        “Number of android device count.”
        Returns:
        property androidCount
      • withAndroidCount

        public DeviceOperatingSystemSummary withAndroidCount​(Integer androidCount)
        Returns an immutable copy of this with just the androidCount 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 android device count.”

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

        public Optional<Integer> getAndroidDedicatedCount()
        “Number of dedicated Android devices.”
        Returns:
        property androidDedicatedCount
      • withAndroidDedicatedCount

        public DeviceOperatingSystemSummary withAndroidDedicatedCount​(Integer androidDedicatedCount)
        Returns an immutable copy of this with just the androidDedicatedCount 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 dedicated Android devices.”

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

        public Optional<Integer> getAndroidDeviceAdminCount()
        “Number of device admin Android devices.”
        Returns:
        property androidDeviceAdminCount
      • withAndroidDeviceAdminCount

        public DeviceOperatingSystemSummary withAndroidDeviceAdminCount​(Integer androidDeviceAdminCount)
        Returns an immutable copy of this with just the androidDeviceAdminCount 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 device admin Android devices.”

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

        public Optional<Integer> getAndroidFullyManagedCount()
        “Number of fully managed Android devices.”
        Returns:
        property androidFullyManagedCount
      • withAndroidFullyManagedCount

        public DeviceOperatingSystemSummary withAndroidFullyManagedCount​(Integer androidFullyManagedCount)
        Returns an immutable copy of this with just the androidFullyManagedCount 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 fully managed Android devices.”

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

        public Optional<Integer> getAndroidWorkProfileCount()
        “Number of work profile Android devices.”
        Returns:
        property androidWorkProfileCount
      • withAndroidWorkProfileCount

        public DeviceOperatingSystemSummary withAndroidWorkProfileCount​(Integer androidWorkProfileCount)
        Returns an immutable copy of this with just the androidWorkProfileCount 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 work profile Android devices.”

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

        public Optional<Integer> getAospUserAssociatedCount()
        “Number of AOSP user-associated Android devices. Valid values 0 to 2147483647”
        Returns:
        property aospUserAssociatedCount
      • withAospUserAssociatedCount

        public DeviceOperatingSystemSummary withAospUserAssociatedCount​(Integer aospUserAssociatedCount)
        Returns an immutable copy of this with just the aospUserAssociatedCount 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 AOSP user-associated Android devices. Valid values 0 to 2147483647”

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

        public Optional<Integer> getAospUserlessCount()
        “Number of AOSP userless Android devices. Valid values 0 to 2147483647”
        Returns:
        property aospUserlessCount
      • withAospUserlessCount

        public DeviceOperatingSystemSummary withAospUserlessCount​(Integer aospUserlessCount)
        Returns an immutable copy of this with just the aospUserlessCount 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 AOSP userless Android devices. Valid values 0 to 2147483647”

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

        public Optional<Integer> getChromeOSCount()
        “Number of Chrome OS devices. Valid values 0 to 2147483647”
        Returns:
        property chromeOSCount
      • withChromeOSCount

        public DeviceOperatingSystemSummary withChromeOSCount​(Integer chromeOSCount)
        Returns an immutable copy of this with just the chromeOSCount 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 Chrome OS devices. Valid values 0 to 2147483647”

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

        public Optional<Integer> getConfigMgrDeviceCount()
        “Number of ConfigMgr managed devices.”
        Returns:
        property configMgrDeviceCount
      • withConfigMgrDeviceCount

        public DeviceOperatingSystemSummary withConfigMgrDeviceCount​(Integer configMgrDeviceCount)
        Returns an immutable copy of this with just the configMgrDeviceCount 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 ConfigMgr managed devices.”

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

        public Optional<Integer> getIosCount()
        “Number of iOS device count.”
        Returns:
        property iosCount
      • withIosCount

        public DeviceOperatingSystemSummary withIosCount​(Integer iosCount)
        Returns an immutable copy of this with just the iosCount 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 iOS device count.”

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

        public Optional<Integer> getLinuxCount()
        “Number of Linux OS devices. Valid values 0 to 2147483647”
        Returns:
        property linuxCount
      • withLinuxCount

        public DeviceOperatingSystemSummary withLinuxCount​(Integer linuxCount)
        Returns an immutable copy of this with just the linuxCount 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 Linux OS devices. Valid values 0 to 2147483647”

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

        public Optional<Integer> getMacOSCount()
        “Number of Mac OS X device count.”
        Returns:
        property macOSCount
      • withMacOSCount

        public DeviceOperatingSystemSummary withMacOSCount​(Integer macOSCount)
        Returns an immutable copy of this with just the macOSCount 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 Mac OS X device count.”

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

        public Optional<Integer> getUnknownCount()
        “Number of unknown device count.”
        Returns:
        property unknownCount
      • withUnknownCount

        public DeviceOperatingSystemSummary withUnknownCount​(Integer unknownCount)
        Returns an immutable copy of this with just the unknownCount 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 device count.”

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

        public Optional<Integer> getWindowsCount()
        “Number of Windows device count.”
        Returns:
        property windowsCount
      • withWindowsCount

        public DeviceOperatingSystemSummary withWindowsCount​(Integer windowsCount)
        Returns an immutable copy of this with just the windowsCount 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 Windows device count.”

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

        public Optional<Integer> getWindowsMobileCount()
        “Number of Windows mobile device count.”
        Returns:
        property windowsMobileCount
      • withWindowsMobileCount

        public DeviceOperatingSystemSummary withWindowsMobileCount​(Integer windowsMobileCount)
        Returns an immutable copy of this with just the windowsMobileCount 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 Windows mobile device count.”

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

        public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
        Specified by:
        getUnmappedFields in interface com.github.davidmoten.odata.client.ODataType
      • postInject

        public void postInject​(boolean addKeysToContextPath)
        Specified by:
        postInject in interface com.github.davidmoten.odata.client.ODataType
      • builder

        public static DeviceOperatingSystemSummary.Builder builder()
        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