Class UserExperienceAnalyticsAppHealthDevicePerformance

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

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

      • appCrashCount

        protected Integer appCrashCount
      • appHangCount

        protected Integer appHangCount
      • crashedAppCount

        protected Integer crashedAppCount
      • deviceAppHealthScore

        protected Double deviceAppHealthScore
      • deviceDisplayName

        protected String deviceDisplayName
      • deviceId

        protected String deviceId
      • deviceManufacturer

        protected String deviceManufacturer
      • deviceModel

        protected String deviceModel
      • meanTimeToFailureInMinutes

        protected Integer meanTimeToFailureInMinutes
    • Constructor Detail

      • UserExperienceAnalyticsAppHealthDevicePerformance

        protected UserExperienceAnalyticsAppHealthDevicePerformance()
    • Method Detail

      • odataTypeName

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

        public static UserExperienceAnalyticsAppHealthDevicePerformance.Builder builderUserExperienceAnalyticsAppHealthDevicePerformance()
        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
      • getAppCrashCount

        public Optional<Integer> getAppCrashCount()
        “The number of application crashes for the device. Valid values 0 to 2147483647. Supports: $filter, $select, $OrderBy. Read-only. Valid values -2147483648 to 2147483647”
        Returns:
        property appCrashCount
      • withAppCrashCount

        public UserExperienceAnalyticsAppHealthDevicePerformance withAppCrashCount​(Integer appCrashCount)
        Returns an immutable copy of this with just the appCrashCount 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 application crashes for the device. Valid values 0 to 2147483647. Supports: $filter, $select, $OrderBy. Read-only. Valid values -2147483648 to 2147483647”

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

        public Optional<Integer> getAppHangCount()
        “The number of application hangs for the device. Valid values 0 to 2147483647. Supports: $select, $OrderBy. Read-only. Valid values -2147483648 to 2147483647”
        Returns:
        property appHangCount
      • withAppHangCount

        public UserExperienceAnalyticsAppHealthDevicePerformance withAppHangCount​(Integer appHangCount)
        Returns an immutable copy of this with just the appHangCount 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 application hangs for the device. Valid values 0 to 2147483647. Supports: $select, $OrderBy. Read-only. Valid values -2147483648 to 2147483647”

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

        public Optional<Integer> getCrashedAppCount()
        “The number of distinct application crashes for the device. Valid values 0 to 2147483647. Supports: $select, $OrderBy. Read-only. Valid values -2147483648 to 2147483647”
        Returns:
        property crashedAppCount
      • withCrashedAppCount

        public UserExperienceAnalyticsAppHealthDevicePerformance withCrashedAppCount​(Integer crashedAppCount)
        Returns an immutable copy of this with just the crashedAppCount 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 distinct application crashes for the device. Valid values 0 to 2147483647. Supports: $select, $OrderBy. Read-only. Valid values -2147483648 to 2147483647”

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

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

        public UserExperienceAnalyticsAppHealthDevicePerformance withDeviceAppHealthScore​(Double deviceAppHealthScore)
        Returns an immutable copy of this with just the deviceAppHealthScore 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 device. Valid values 0 to 100. Supports: $ filter, $select, $OrderBy. Read-only. Valid values -1.79769313486232E+308 to 1. 79769313486232E+308”

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

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

        public UserExperienceAnalyticsAppHealthDevicePerformance withDeviceDisplayName​(String deviceDisplayName)
        Returns an immutable copy of this with just the deviceDisplayName 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:
        deviceDisplayName - new value of deviceDisplayName field (as defined in service metadata)
        Returns:
        immutable copy of this with just the deviceDisplayName field changed
      • getDeviceId

        public Optional<String> getDeviceId()
        “The Intune device id of the device. Supports: $select, $OrderBy. Read-only.”
        Returns:
        property deviceId
      • withDeviceId

        public UserExperienceAnalyticsAppHealthDevicePerformance withDeviceId​(String deviceId)
        Returns an immutable copy of this with just the deviceId 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 Intune device id of the device. Supports: $select, $OrderBy. Read-only.”

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

        public Optional<String> getDeviceManufacturer()
        “The manufacturer name of the device. Supports: $select, $OrderBy. Read-only.”
        Returns:
        property deviceManufacturer
      • withDeviceManufacturer

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

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

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

        public UserExperienceAnalyticsAppHealthDevicePerformance withDeviceModel​(String deviceModel)
        Returns an immutable copy of this with just the deviceModel 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:
        deviceModel - new value of deviceModel field (as defined in service metadata)
        Returns:
        immutable copy of this with just the deviceModel field changed
      • getHealthStatus

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

        public UserExperienceAnalyticsAppHealthDevicePerformance 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 state of the user experience analytics 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
      • 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 UserExperienceAnalyticsAppHealthDevicePerformance 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
      • getProcessedDateTime

        public Optional<OffsetDateTime> getProcessedDateTime()
        “The date and time when the statistics were last computed. The value cannot be modified and is automatically populated when the statistics are computed. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2022 would look like this: '2022-01-01T00:00:00Z'. Returned by default. Read-only.”
        Returns:
        property processedDateTime
      • withProcessedDateTime

        public UserExperienceAnalyticsAppHealthDevicePerformance withProcessedDateTime​(OffsetDateTime processedDateTime)
        Returns an immutable copy of this with just the processedDateTime 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 date and time when the statistics were last computed. The value cannot be modified and is automatically populated when the statistics are computed. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2022 would look like this: '2022-01-01T00:00:00Z'. Returned by default. Read-only.”

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