Class UserExperienceAnalyticsAppHealthAppPerformanceByAppVersion

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

    public class UserExperienceAnalyticsAppHealthAppPerformanceByAppVersion
    extends Entity
    implements com.github.davidmoten.odata.client.ODataEntityType
    “The user experience analytics application performance entity contains app performance details by app version.”
    • Field Detail

      • appCrashCount

        protected Integer appCrashCount
      • appDisplayName

        protected String appDisplayName
      • appName

        protected String appName
      • appPublisher

        protected String appPublisher
      • appUsageDuration

        protected Integer appUsageDuration
      • appVersion

        protected String appVersion
      • meanTimeToFailureInMinutes

        protected Integer meanTimeToFailureInMinutes
    • Constructor Detail

      • UserExperienceAnalyticsAppHealthAppPerformanceByAppVersion

        protected UserExperienceAnalyticsAppHealthAppPerformanceByAppVersion()
    • Method Detail

      • odataTypeName

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

        public static UserExperienceAnalyticsAppHealthAppPerformanceByAppVersion.Builder builderUserExperienceAnalyticsAppHealthAppPerformanceByAppVersion()
        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 crashes for the app. Valid values -2147483648 to 2147483647”
        Returns:
        property appCrashCount
      • withAppCrashCount

        public UserExperienceAnalyticsAppHealthAppPerformanceByAppVersion 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 crashes for the app. 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
      • getAppDisplayName

        public Optional<String> getAppDisplayName()
        “The friendly name of the application.”
        Returns:
        property appDisplayName
      • withAppDisplayName

        public UserExperienceAnalyticsAppHealthAppPerformanceByAppVersion withAppDisplayName​(String appDisplayName)
        Returns an immutable copy of this with just the appDisplayName 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 friendly name of the application.”

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

        public Optional<String> getAppName()
        “The name of the application.”
        Returns:
        property appName
      • withAppName

        public UserExperienceAnalyticsAppHealthAppPerformanceByAppVersion withAppName​(String appName)
        Returns an immutable copy of this with just the appName 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 application.”

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

        public Optional<String> getAppPublisher()
        “The publisher of the application.”
        Returns:
        property appPublisher
      • withAppPublisher

        public UserExperienceAnalyticsAppHealthAppPerformanceByAppVersion withAppPublisher​(String appPublisher)
        Returns an immutable copy of this with just the appPublisher 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 publisher of the application.”

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

        public Optional<Integer> getAppUsageDuration()
        “The total usage time of the application in minutes. Valid values -2147483648 to 2147483647”
        Returns:
        property appUsageDuration
      • withAppUsageDuration

        public UserExperienceAnalyticsAppHealthAppPerformanceByAppVersion withAppUsageDuration​(Integer appUsageDuration)
        Returns an immutable copy of this with just the appUsageDuration 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 total usage time of the application in minutes. Valid values -2147483648 to 2147483647”

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

        public Optional<String> getAppVersion()
        “The version of the application.”
        Returns:
        property appVersion
      • withAppVersion

        public UserExperienceAnalyticsAppHealthAppPerformanceByAppVersion withAppVersion​(String appVersion)
        Returns an immutable copy of this with just the appVersion 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 version of the application.”

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

        public Optional<Integer> getMeanTimeToFailureInMinutes()
        “The mean time to failure for the app in minutes. Valid values -2147483648 to 2147483647”
        Returns:
        property meanTimeToFailureInMinutes
      • withMeanTimeToFailureInMinutes

        public UserExperienceAnalyticsAppHealthAppPerformanceByAppVersion 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 app in minutes. 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
      • 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 UserExperienceAnalyticsAppHealthAppPerformanceByAppVersion 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 UserExperienceAnalyticsAppHealthAppPerformanceByAppVersion 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