Class UserExperienceAnalyticsDeviceStartupHistory

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

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

      • coreBootTimeInMs

        protected Integer coreBootTimeInMs
      • coreLoginTimeInMs

        protected Integer coreLoginTimeInMs
      • deviceId

        protected String deviceId
      • featureUpdateBootTimeInMs

        protected Integer featureUpdateBootTimeInMs
      • groupPolicyBootTimeInMs

        protected Integer groupPolicyBootTimeInMs
      • groupPolicyLoginTimeInMs

        protected Integer groupPolicyLoginTimeInMs
      • isFeatureUpdate

        protected Boolean isFeatureUpdate
      • isFirstLogin

        protected Boolean isFirstLogin
      • operatingSystemVersion

        protected String operatingSystemVersion
      • responsiveDesktopTimeInMs

        protected Integer responsiveDesktopTimeInMs
      • restartFaultBucket

        protected String restartFaultBucket
      • restartStopCode

        protected String restartStopCode
      • totalBootTimeInMs

        protected Integer totalBootTimeInMs
      • totalLoginTimeInMs

        protected Integer totalLoginTimeInMs
    • Constructor Detail

      • UserExperienceAnalyticsDeviceStartupHistory

        protected UserExperienceAnalyticsDeviceStartupHistory()
    • Method Detail

      • odataTypeName

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

        public static UserExperienceAnalyticsDeviceStartupHistory.Builder builderUserExperienceAnalyticsDeviceStartupHistory()
        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
      • getCoreBootTimeInMs

        public Optional<Integer> getCoreBootTimeInMs()
        “The device core boot time in milliseconds. Supports: $select, $OrderBy. Read- only.”
        Returns:
        property coreBootTimeInMs
      • withCoreBootTimeInMs

        public UserExperienceAnalyticsDeviceStartupHistory withCoreBootTimeInMs​(Integer coreBootTimeInMs)
        Returns an immutable copy of this with just the coreBootTimeInMs 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 device core boot time in milliseconds. Supports: $select, $OrderBy. Read- only.”

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

        public Optional<Integer> getCoreLoginTimeInMs()
        “The device core login time in milliseconds. Supports: $select, $OrderBy. Read- only.”
        Returns:
        property coreLoginTimeInMs
      • withCoreLoginTimeInMs

        public UserExperienceAnalyticsDeviceStartupHistory withCoreLoginTimeInMs​(Integer coreLoginTimeInMs)
        Returns an immutable copy of this with just the coreLoginTimeInMs 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 device core login time in milliseconds. Supports: $select, $OrderBy. Read- only.”

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

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

        public UserExperienceAnalyticsDeviceStartupHistory 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
      • getFeatureUpdateBootTimeInMs

        public Optional<Integer> getFeatureUpdateBootTimeInMs()
        “The impact of device feature updates on boot time in milliseconds. Supports: $ select, $OrderBy. Read-only.”
        Returns:
        property featureUpdateBootTimeInMs
      • withFeatureUpdateBootTimeInMs

        public UserExperienceAnalyticsDeviceStartupHistory withFeatureUpdateBootTimeInMs​(Integer featureUpdateBootTimeInMs)
        Returns an immutable copy of this with just the featureUpdateBootTimeInMs 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 impact of device feature updates on boot time in milliseconds. Supports: $ select, $OrderBy. Read-only.”

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

        public Optional<Integer> getGroupPolicyBootTimeInMs()
        “The impact of device group policy client on boot time in milliseconds. Supports: $select, $OrderBy. Read-only.”
        Returns:
        property groupPolicyBootTimeInMs
      • withGroupPolicyBootTimeInMs

        public UserExperienceAnalyticsDeviceStartupHistory withGroupPolicyBootTimeInMs​(Integer groupPolicyBootTimeInMs)
        Returns an immutable copy of this with just the groupPolicyBootTimeInMs 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 impact of device group policy client on boot time in milliseconds. Supports: $select, $OrderBy. Read-only.”

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

        public Optional<Integer> getGroupPolicyLoginTimeInMs()
        “The impact of device group policy client on login time in milliseconds. Supports : $select, $OrderBy. Read-only.”
        Returns:
        property groupPolicyLoginTimeInMs
      • withGroupPolicyLoginTimeInMs

        public UserExperienceAnalyticsDeviceStartupHistory withGroupPolicyLoginTimeInMs​(Integer groupPolicyLoginTimeInMs)
        Returns an immutable copy of this with just the groupPolicyLoginTimeInMs 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 impact of device group policy client on login time in milliseconds. Supports : $select, $OrderBy. Read-only.”

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

        public Optional<Boolean> getIsFeatureUpdate()
        “When TRUE, indicates the device boot record is associated with feature updates. When FALSE, indicates the device boot record is not associated with feature updates. Supports: $select, $OrderBy. Read-only.”
        Returns:
        property isFeatureUpdate
      • withIsFeatureUpdate

        public UserExperienceAnalyticsDeviceStartupHistory withIsFeatureUpdate​(Boolean isFeatureUpdate)
        Returns an immutable copy of this with just the isFeatureUpdate 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 device boot record is associated with feature updates. When FALSE, indicates the device boot record is not associated with feature updates. Supports: $select, $OrderBy. Read-only.”

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

        public Optional<Boolean> getIsFirstLogin()
        “When TRUE, indicates the device login is the first login after a reboot. When FALSE, indicates the device login is not the first login after a reboot. Supports: $select, $OrderBy. Read-only.”
        Returns:
        property isFirstLogin
      • withIsFirstLogin

        public UserExperienceAnalyticsDeviceStartupHistory withIsFirstLogin​(Boolean isFirstLogin)
        Returns an immutable copy of this with just the isFirstLogin 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 device login is the first login after a reboot. When FALSE, indicates the device login is not the first login after a reboot. Supports: $select, $OrderBy. Read-only.”

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

        public Optional<String> getOperatingSystemVersion()
        “The user experience analytics device boot record's operating system version. Supports: $select, $OrderBy. Read-only.”
        Returns:
        property operatingSystemVersion
      • withOperatingSystemVersion

        public UserExperienceAnalyticsDeviceStartupHistory withOperatingSystemVersion​(String operatingSystemVersion)
        Returns an immutable copy of this with just the operatingSystemVersion 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 user experience analytics device boot record's operating system version. Supports: $select, $OrderBy. Read-only.”

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

        public Optional<Integer> getResponsiveDesktopTimeInMs()
        “The time for desktop to become responsive during login process in milliseconds. Supports: $select, $OrderBy. Read-only.”
        Returns:
        property responsiveDesktopTimeInMs
      • withResponsiveDesktopTimeInMs

        public UserExperienceAnalyticsDeviceStartupHistory withResponsiveDesktopTimeInMs​(Integer responsiveDesktopTimeInMs)
        Returns an immutable copy of this with just the responsiveDesktopTimeInMs 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 time for desktop to become responsive during login process in milliseconds. Supports: $select, $OrderBy. Read-only.”

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

        public Optional<UserExperienceAnalyticsOperatingSystemRestartCategory> getRestartCategory()
        “OS restart category. Possible values are: unknown, restartWithUpdate, restartWithoutUpdate, blueScreen, shutdownWithUpdate, shutdownWithoutUpdate, longPowerButtonPress, bootError, update. Unknown by default. Supports: $select, $OrderBy. Read-only.”
        Returns:
        property restartCategory
      • withRestartCategory

        public UserExperienceAnalyticsDeviceStartupHistory withRestartCategory​(UserExperienceAnalyticsOperatingSystemRestartCategory restartCategory)
        Returns an immutable copy of this with just the restartCategory 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.

        “OS restart category. Possible values are: unknown, restartWithUpdate, restartWithoutUpdate, blueScreen, shutdownWithUpdate, shutdownWithoutUpdate, longPowerButtonPress, bootError, update. Unknown by default. Supports: $select, $OrderBy. Read-only.”

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

        public Optional<String> getRestartFaultBucket()
        “OS restart fault bucket. The fault bucket is used to find additional information about a system crash. Supports: $select, $OrderBy. Read-only.”
        Returns:
        property restartFaultBucket
      • withRestartFaultBucket

        public UserExperienceAnalyticsDeviceStartupHistory withRestartFaultBucket​(String restartFaultBucket)
        Returns an immutable copy of this with just the restartFaultBucket 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.

        “OS restart fault bucket. The fault bucket is used to find additional information about a system crash. Supports: $select, $OrderBy. Read-only.”

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

        public Optional<String> getRestartStopCode()
        “OS restart stop code. This shows the bug check code which can be used to look up the blue screen reason. Supports: $select, $OrderBy. Read-only.”
        Returns:
        property restartStopCode
      • withRestartStopCode

        public UserExperienceAnalyticsDeviceStartupHistory withRestartStopCode​(String restartStopCode)
        Returns an immutable copy of this with just the restartStopCode 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.

        “OS restart stop code. This shows the bug check code which can be used to look up the blue screen reason. Supports: $select, $OrderBy. Read-only.”

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

        public Optional<OffsetDateTime> getStartTime()
        “The device boot start time. The value cannot be modified and is automatically populated when the device performs a reboot. 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 startTime
      • withStartTime

        public UserExperienceAnalyticsDeviceStartupHistory withStartTime​(OffsetDateTime startTime)
        Returns an immutable copy of this with just the startTime 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 device boot start time. The value cannot be modified and is automatically populated when the device performs a reboot. 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:
        startTime - new value of startTime field (as defined in service metadata)
        Returns:
        immutable copy of this with just the startTime field changed
      • getTotalBootTimeInMs

        public Optional<Integer> getTotalBootTimeInMs()
        “The device total boot time in milliseconds. Supports: $select, $OrderBy. Read- only.”
        Returns:
        property totalBootTimeInMs
      • withTotalBootTimeInMs

        public UserExperienceAnalyticsDeviceStartupHistory withTotalBootTimeInMs​(Integer totalBootTimeInMs)
        Returns an immutable copy of this with just the totalBootTimeInMs 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 device total boot time in milliseconds. Supports: $select, $OrderBy. Read- only.”

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

        public Optional<Integer> getTotalLoginTimeInMs()
        “The device total login time in milliseconds. Supports: $select, $OrderBy. Read- only.”
        Returns:
        property totalLoginTimeInMs
      • withTotalLoginTimeInMs

        public UserExperienceAnalyticsDeviceStartupHistory withTotalLoginTimeInMs​(Integer totalLoginTimeInMs)
        Returns an immutable copy of this with just the totalLoginTimeInMs 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 device total login time in milliseconds. Supports: $select, $OrderBy. Read- only.”

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