Class UserExperienceAnalyticsBatteryHealthOsPerformance

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

    public class UserExperienceAnalyticsBatteryHealthOsPerformance
    extends Entity
    implements com.github.davidmoten.odata.client.ODataEntityType
    “The user experience analytics battery health os performance entity contains battery related information for all operating system versions in their organization.”
    • Field Detail

      • activeDevices

        protected Integer activeDevices
      • averageBatteryAgeInDays

        protected Integer averageBatteryAgeInDays
      • averageEstimatedRuntimeInMinutes

        protected Integer averageEstimatedRuntimeInMinutes
      • averageMaxCapacityPercentage

        protected Integer averageMaxCapacityPercentage
      • osBuildNumber

        protected String osBuildNumber
      • osVersion

        protected String osVersion
    • Constructor Detail

      • UserExperienceAnalyticsBatteryHealthOsPerformance

        protected UserExperienceAnalyticsBatteryHealthOsPerformance()
    • Method Detail

      • odataTypeName

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

        public static UserExperienceAnalyticsBatteryHealthOsPerformance.Builder builderUserExperienceAnalyticsBatteryHealthOsPerformance()
        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
      • getActiveDevices

        public Optional<Integer> getActiveDevices()
        “Number of active devices for that os version. Valid values -2147483648 to 2147483647”
        Returns:
        property activeDevices
      • withActiveDevices

        public UserExperienceAnalyticsBatteryHealthOsPerformance withActiveDevices​(Integer activeDevices)
        Returns an immutable copy of this with just the activeDevices 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 active devices for that os version. Valid values -2147483648 to 2147483647”

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

        public Optional<Integer> getAverageBatteryAgeInDays()
        “The mean of the battery age for all devices running a particular operating system version in a tenant. Unit in days. Valid values -2147483648 to 2147483647”
        Returns:
        property averageBatteryAgeInDays
      • withAverageBatteryAgeInDays

        public UserExperienceAnalyticsBatteryHealthOsPerformance withAverageBatteryAgeInDays​(Integer averageBatteryAgeInDays)
        Returns an immutable copy of this with just the averageBatteryAgeInDays 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 mean of the battery age for all devices running a particular operating system version in a tenant. Unit in days. Valid values -2147483648 to 2147483647”

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

        public Optional<Integer> getAverageEstimatedRuntimeInMinutes()
        “The mean of the estimated runtimes on full charge for all devices running a particular operating system version. Unit in minutes. Valid values -2147483648 to 2147483647”
        Returns:
        property averageEstimatedRuntimeInMinutes
      • withAverageEstimatedRuntimeInMinutes

        public UserExperienceAnalyticsBatteryHealthOsPerformance withAverageEstimatedRuntimeInMinutes​(Integer averageEstimatedRuntimeInMinutes)
        Returns an immutable copy of this with just the averageEstimatedRuntimeInMinutes 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 mean of the estimated runtimes on full charge for all devices running a particular operating system version. Unit in minutes. Valid values -2147483648 to 2147483647”

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

        public Optional<Integer> getAverageMaxCapacityPercentage()
        “The mean of the maximum capacity for all devices running a particular operating system version. Maximum capacity measures the full charge vs. design capacity for a device’s batteries.. Valid values -2147483648 to 2147483647”
        Returns:
        property averageMaxCapacityPercentage
      • withAverageMaxCapacityPercentage

        public UserExperienceAnalyticsBatteryHealthOsPerformance withAverageMaxCapacityPercentage​(Integer averageMaxCapacityPercentage)
        Returns an immutable copy of this with just the averageMaxCapacityPercentage 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 mean of the maximum capacity for all devices running a particular operating system version. Maximum capacity measures the full charge vs. design capacity for a device’s batteries.. Valid values -2147483648 to 2147483647”

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

        public Optional<String> getOsBuildNumber()
        “Build number of the operating system.”
        Returns:
        property osBuildNumber
      • withOsBuildNumber

        public UserExperienceAnalyticsBatteryHealthOsPerformance withOsBuildNumber​(String osBuildNumber)
        Returns an immutable copy of this with just the osBuildNumber 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.

        “Build number of the operating system.”

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

        public Optional<String> getOsVersion()
        “Version of the operating system.”
        Returns:
        property osVersion
      • withOsVersion

        public UserExperienceAnalyticsBatteryHealthOsPerformance withOsVersion​(String osVersion)
        Returns an immutable copy of this with just the osVersion 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.

        “Version of the operating system.”

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