Class UserExperienceAnalyticsDeviceScores

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

    public class UserExperienceAnalyticsDeviceScores
    extends Entity
    implements com.github.davidmoten.odata.client.ODataEntityType
    “The user experience analytics device scores entity consolidates the various Endpoint Analytics scores.”
    • Field Detail

      • appReliabilityScore

        protected Double appReliabilityScore
      • batteryHealthScore

        protected Double batteryHealthScore
      • deviceName

        protected String deviceName
      • endpointAnalyticsScore

        protected Double endpointAnalyticsScore
      • manufacturer

        protected String manufacturer
      • model

        protected String model
      • startupPerformanceScore

        protected Double startupPerformanceScore
      • workFromAnywhereScore

        protected Double workFromAnywhereScore
    • Constructor Detail

      • UserExperienceAnalyticsDeviceScores

        protected UserExperienceAnalyticsDeviceScores()
    • Method Detail

      • odataTypeName

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

        public static UserExperienceAnalyticsDeviceScores.Builder builderUserExperienceAnalyticsDeviceScores()
        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
      • getAppReliabilityScore

        public Optional<Double> getAppReliabilityScore()
        “Indicates a score calculated from application health data to indicate when a device is having problems running one or more applications. Valid values range from 0-100. Value -1 means associated score is unavailable. A higher score indicates a healthier device. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308”
        Returns:
        property appReliabilityScore
      • withAppReliabilityScore

        public UserExperienceAnalyticsDeviceScores withAppReliabilityScore​(Double appReliabilityScore)
        Returns an immutable copy of this with just the appReliabilityScore 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.

        “Indicates a score calculated from application health data to indicate when a device is having problems running one or more applications. Valid values range from 0-100. Value -1 means associated score is unavailable. A higher score indicates a healthier device. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308”

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

        public Optional<Double> getBatteryHealthScore()
        “Indicates a calulated score indicating the health of the device's battery. Valid values range from 0-100. Value -1 means associated score is unavailable. A higher score indicates a healthier device. Read-only. Valid values -1. 79769313486232E+308 to 1.79769313486232E+308”
        Returns:
        property batteryHealthScore
      • withBatteryHealthScore

        public UserExperienceAnalyticsDeviceScores withBatteryHealthScore​(Double batteryHealthScore)
        Returns an immutable copy of this with just the batteryHealthScore 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.

        “Indicates a calulated score indicating the health of the device's battery. Valid values range from 0-100. Value -1 means associated score is unavailable. A higher score indicates a healthier device. Read-only. Valid values -1. 79769313486232E+308 to 1.79769313486232E+308”

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

        public Optional<String> getDeviceName()
        “The name of the device. Supports: $select, $OrderBy. Read-only.”
        Returns:
        property deviceName
      • withDeviceName

        public UserExperienceAnalyticsDeviceScores withDeviceName​(String deviceName)
        Returns an immutable copy of this with just the deviceName 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 name of the device. Supports: $select, $OrderBy. Read-only.”

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

        public Optional<Double> getEndpointAnalyticsScore()
        “Indicates a weighted average of the various scores. Valid values range from 0- 100. Value -1 means associated score is unavailable. A higher score indicates a healthier device. Read-only. Valid values -1.79769313486232E+308 to 1. 79769313486232E+308”
        Returns:
        property endpointAnalyticsScore
      • withEndpointAnalyticsScore

        public UserExperienceAnalyticsDeviceScores withEndpointAnalyticsScore​(Double endpointAnalyticsScore)
        Returns an immutable copy of this with just the endpointAnalyticsScore 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.

        “Indicates a weighted average of the various scores. Valid values range from 0- 100. Value -1 means associated score is unavailable. A higher score indicates a healthier device. Read-only. Valid values -1.79769313486232E+308 to 1. 79769313486232E+308”

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

        public Optional<UserExperienceAnalyticsHealthState> getHealthStatus()
        “The health status of the device. Possible values are: unknown, insufficientData, needsAttention, meetingGoals. Unknown by default. Supports: $filter, $select, $ OrderBy. Read-only.”
        Returns:
        property healthStatus
      • withHealthStatus

        public UserExperienceAnalyticsDeviceScores withHealthStatus​(UserExperienceAnalyticsHealthState healthStatus)
        Returns an immutable copy of this with just the healthStatus 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 health status of the device. Possible values are: unknown, insufficientData, needsAttention, meetingGoals. Unknown by default. Supports: $filter, $select, $ OrderBy. Read-only.”

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

        public Optional<String> getManufacturer()
        “The manufacturer name of the device. Examples: Microsoft Corporation, HP, Lenovo . Supports: $select, $OrderBy. Read-only.”
        Returns:
        property manufacturer
      • withManufacturer

        public UserExperienceAnalyticsDeviceScores withManufacturer​(String manufacturer)
        Returns an immutable copy of this with just the manufacturer 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 manufacturer name of the device. Examples: Microsoft Corporation, HP, Lenovo . Supports: $select, $OrderBy. Read-only.”

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

        public Optional<String> getModel()
        “The model name of the device. Supports: $select, $OrderBy. Read-only.”
        Returns:
        property model
      • withModel

        public UserExperienceAnalyticsDeviceScores withModel​(String model)
        Returns an immutable copy of this with just the model 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 model name of the device. Supports: $select, $OrderBy. Read-only.”

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

        public Optional<Double> getStartupPerformanceScore()
        “Indicates a weighted average of boot score and logon score used for measuring startup performance. Valid values range from 0-100. Value -1 means associated score is unavailable. A higher score indicates a healthier device. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308”
        Returns:
        property startupPerformanceScore
      • withStartupPerformanceScore

        public UserExperienceAnalyticsDeviceScores withStartupPerformanceScore​(Double startupPerformanceScore)
        Returns an immutable copy of this with just the startupPerformanceScore 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.

        “Indicates a weighted average of boot score and logon score used for measuring startup performance. Valid values range from 0-100. Value -1 means associated score is unavailable. A higher score indicates a healthier device. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308”

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

        public Optional<Double> getWorkFromAnywhereScore()
        “Indicates a weighted score of the work from anywhere on a device level. Valid values range from 0-100. Value -1 means associated score is unavailable. A higher score indicates a healthier device. Read-only. Valid values -1. 79769313486232E+308 to 1.79769313486232E+308”
        Returns:
        property workFromAnywhereScore
      • withWorkFromAnywhereScore

        public UserExperienceAnalyticsDeviceScores withWorkFromAnywhereScore​(Double workFromAnywhereScore)
        Returns an immutable copy of this with just the workFromAnywhereScore 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.

        “Indicates a weighted score of the work from anywhere on a device level. Valid values range from 0-100. Value -1 means associated score is unavailable. A higher score indicates a healthier device. Read-only. Valid values -1. 79769313486232E+308 to 1.79769313486232E+308”

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