Class UserExperienceAnalyticsAppHealthDeviceModelPerformance

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

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

      • activeDeviceCount

        protected Integer activeDeviceCount
      • deviceManufacturer

        protected String deviceManufacturer
      • deviceModel

        protected String deviceModel
      • meanTimeToFailureInMinutes

        protected Integer meanTimeToFailureInMinutes
      • modelAppHealthScore

        protected Double modelAppHealthScore
    • Constructor Detail

      • UserExperienceAnalyticsAppHealthDeviceModelPerformance

        protected UserExperienceAnalyticsAppHealthDeviceModelPerformance()
    • Method Detail

      • odataTypeName

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

        public static UserExperienceAnalyticsAppHealthDeviceModelPerformance.Builder builderUserExperienceAnalyticsAppHealthDeviceModelPerformance()
        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 model. Valid values 0 to 2147483647. Supports: $filter, $select, $OrderBy. Read-only. Valid values -2147483648 to 2147483647”
        Returns:
        property activeDeviceCount
      • withActiveDeviceCount

        public UserExperienceAnalyticsAppHealthDeviceModelPerformance 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 model. 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
      • getDeviceManufacturer

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

        public UserExperienceAnalyticsAppHealthDeviceModelPerformance 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 UserExperienceAnalyticsAppHealthDeviceModelPerformance 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 model. Possible values are: unknown, insufficientData, needsAttention, meetingGoals. Unknown by default. Supports: $filter, $select, $OrderBy. Read-only.”
        Returns:
        property healthStatus
      • withHealthStatus

        public UserExperienceAnalyticsAppHealthDeviceModelPerformance 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 model. 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 UserExperienceAnalyticsAppHealthDeviceModelPerformance 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
      • getModelAppHealthScore

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

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

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