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
      • androidCount

        protected Integer androidCount
      • iosCount

        protected Integer iosCount
      • 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
      • 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
      • 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
      • 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