Class UserExperienceAnalyticsBaseline

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

    public class UserExperienceAnalyticsBaseline
    extends Entity
    implements com.github.davidmoten.odata.client.ODataEntityType
    “The user experience analytics baseline entity contains baseline values against which to compare the user experience analytics scores.”
    • Constructor Detail

      • UserExperienceAnalyticsBaseline

        protected UserExperienceAnalyticsBaseline()
    • Method Detail

      • odataTypeName

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

        public static UserExperienceAnalyticsBaseline.Builder builderUserExperienceAnalyticsBaseline()
        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
      • getCreatedDateTime

        public Optional<OffsetDateTime> getCreatedDateTime()
        “The date the custom baseline was created. The value cannot be modified and is automatically populated when the baseline is created. 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, 2014 would look like this: '2014-01- 01T00:00:00Z'. Returned by default.”
        Returns:
        property createdDateTime
      • withCreatedDateTime

        public UserExperienceAnalyticsBaseline withCreatedDateTime​(OffsetDateTime createdDateTime)
        Returns an immutable copy of this with just the createdDateTime 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 the custom baseline was created. The value cannot be modified and is automatically populated when the baseline is created. 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, 2014 would look like this: '2014-01- 01T00:00:00Z'. Returned by default.”

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

        public Optional<String> getDisplayName()
        “The name of the baseline.”
        Returns:
        property displayName
      • withDisplayName

        public UserExperienceAnalyticsBaseline withDisplayName​(String displayName)
        Returns an immutable copy of this with just the displayName 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 baseline.”

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

        public Optional<Boolean> getIsBuiltIn()
        “When TRUE, indicates the current baseline is the commercial median baseline. When FALSE, indicates it is a custom baseline. FALSE by default.”
        Returns:
        property isBuiltIn
      • withIsBuiltIn

        public UserExperienceAnalyticsBaseline withIsBuiltIn​(Boolean isBuiltIn)
        Returns an immutable copy of this with just the isBuiltIn 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.

        “When TRUE, indicates the current baseline is the commercial median baseline. When FALSE, indicates it is a custom baseline. FALSE by default.”

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

        public UserExperienceAnalyticsCategoryRequest getAppHealthMetrics()
        “The scores and insights for the application health metrics.”
        Returns:
        navigational property appHealthMetrics
      • getBatteryHealthMetrics

        public UserExperienceAnalyticsCategoryRequest getBatteryHealthMetrics()
        “The scores and insights for the battery health metrics.”
        Returns:
        navigational property batteryHealthMetrics
      • getBestPracticesMetrics

        public UserExperienceAnalyticsCategoryRequest getBestPracticesMetrics()
        “The scores and insights for the best practices metrics.”
        Returns:
        navigational property bestPracticesMetrics
      • getDeviceBootPerformanceMetrics

        public UserExperienceAnalyticsCategoryRequest getDeviceBootPerformanceMetrics()
        “The scores and insights for the device boot performance metrics.”
        Returns:
        navigational property deviceBootPerformanceMetrics
      • getRebootAnalyticsMetrics

        public UserExperienceAnalyticsCategoryRequest getRebootAnalyticsMetrics()
        “The scores and insights for the reboot analytics metrics.”
        Returns:
        navigational property rebootAnalyticsMetrics
      • getResourcePerformanceMetrics

        public UserExperienceAnalyticsCategoryRequest getResourcePerformanceMetrics()
        “The scores and insights for the resource performance metrics.”
        Returns:
        navigational property resourcePerformanceMetrics
      • getWorkFromAnywhereMetrics

        public UserExperienceAnalyticsCategoryRequest getWorkFromAnywhereMetrics()
        “The scores and insights for the work from anywhere metrics.”
        Returns:
        navigational property workFromAnywhereMetrics
      • 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 UserExperienceAnalyticsBaseline 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 UserExperienceAnalyticsBaseline 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