Class UserExperienceAnalyticsAppHealthOSVersionPerformance

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

    public class UserExperienceAnalyticsAppHealthOSVersionPerformance
    extends Entity
    implements com.github.davidmoten.odata.client.ODataEntityType
    “The user experience analytics device OS version performance entity contains OS version performance details.”
    • Field Detail

      • activeDeviceCount

        protected Integer activeDeviceCount
      • meanTimeToFailureInMinutes

        protected Integer meanTimeToFailureInMinutes
      • osBuildNumber

        protected String osBuildNumber
      • osVersion

        protected String osVersion
      • osVersionAppHealthScore

        protected Double osVersionAppHealthScore
    • Constructor Detail

      • UserExperienceAnalyticsAppHealthOSVersionPerformance

        protected UserExperienceAnalyticsAppHealthOSVersionPerformance()
    • Method Detail

      • odataTypeName

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

        public static UserExperienceAnalyticsAppHealthOSVersionPerformance.Builder builderUserExperienceAnalyticsAppHealthOSVersionPerformance()
        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
      • getActiveDeviceCount

        public Optional<Integer> getActiveDeviceCount()
        “The number of active devices for the OS version. Valid values 0 to 2147483647. Supports: $filter, $select, $OrderBy. Read-only. Valid values -2147483648 to 2147483647”
        Returns:
        property activeDeviceCount
      • withActiveDeviceCount

        public UserExperienceAnalyticsAppHealthOSVersionPerformance withActiveDeviceCount​(Integer activeDeviceCount)
        Returns an immutable copy of this with just the activeDeviceCount 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 number of active devices for the OS version. Valid values 0 to 2147483647. Supports: $filter, $select, $OrderBy. Read-only. Valid values -2147483648 to 2147483647”

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

        public Optional<Integer> getMeanTimeToFailureInMinutes()
        “The mean time to failure for the application in minutes. Valid values 0 to 2147483647. Supports: $filter, $select, $OrderBy. Read-only. Valid values - 2147483648 to 2147483647”
        Returns:
        property meanTimeToFailureInMinutes
      • withMeanTimeToFailureInMinutes

        public UserExperienceAnalyticsAppHealthOSVersionPerformance withMeanTimeToFailureInMinutes​(Integer meanTimeToFailureInMinutes)
        Returns an immutable copy of this with just the meanTimeToFailureInMinutes 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 time to failure for the application in minutes. Valid values 0 to 2147483647. Supports: $filter, $select, $OrderBy. Read-only. Valid values - 2147483648 to 2147483647”

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

        public Optional<String> getOsBuildNumber()
        “The OS build number installed on the device. Supports: $select, $OrderBy. Read- only.”
        Returns:
        property osBuildNumber
      • withOsBuildNumber

        public UserExperienceAnalyticsAppHealthOSVersionPerformance 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.

        “The OS build number installed on the device. Supports: $select, $OrderBy. Read- only.”

        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()
        “The OS version installed on the device. Supports: $select, $OrderBy. Read-only.”
        Returns:
        property osVersion
      • withOsVersion

        public UserExperienceAnalyticsAppHealthOSVersionPerformance 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.

        “The OS version installed on the device. Supports: $select, $OrderBy. Read-only.”

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

        public Optional<Double> getOsVersionAppHealthScore()
        “The application health score of the OS version. Valid values 0 to 100. Supports: $filter, $select, $OrderBy. Read-only. Valid values -1.79769313486232E+308 to 1. 79769313486232E+308”
        Returns:
        property osVersionAppHealthScore
      • withOsVersionAppHealthScore

        public UserExperienceAnalyticsAppHealthOSVersionPerformance withOsVersionAppHealthScore​(Double osVersionAppHealthScore)
        Returns an immutable copy of this with just the osVersionAppHealthScore 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 application health score of the OS version. Valid values 0 to 100. Supports: $filter, $select, $OrderBy. Read-only. Valid values -1.79769313486232E+308 to 1. 79769313486232E+308”

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