Class DeviceManagementAutopilotEvent

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

    public class DeviceManagementAutopilotEvent
    extends Entity
    implements com.github.davidmoten.odata.client.ODataEntityType
    “Represents an Autopilot flow event.”
    • Field Detail

      • accountSetupDuration

        protected Duration accountSetupDuration
      • deploymentDuration

        protected Duration deploymentDuration
      • deploymentEndDateTime

        protected OffsetDateTime deploymentEndDateTime
      • deploymentStartDateTime

        protected OffsetDateTime deploymentStartDateTime
      • deploymentTotalDuration

        protected Duration deploymentTotalDuration
      • deviceId

        protected String deviceId
      • devicePreparationDuration

        protected Duration devicePreparationDuration
      • deviceRegisteredDateTime

        protected OffsetDateTime deviceRegisteredDateTime
      • deviceSerialNumber

        protected String deviceSerialNumber
      • deviceSetupDuration

        protected Duration deviceSetupDuration
      • enrollmentFailureDetails

        protected String enrollmentFailureDetails
      • enrollmentStartDateTime

        protected OffsetDateTime enrollmentStartDateTime
      • managedDeviceName

        protected String managedDeviceName
      • osVersion

        protected String osVersion
      • targetedAppCount

        protected Integer targetedAppCount
      • targetedPolicyCount

        protected Integer targetedPolicyCount
      • userPrincipalName

        protected String userPrincipalName
      • windows10EnrollmentCompletionPageConfigurationDisplayName

        protected String windows10EnrollmentCompletionPageConfigurationDisplayName
      • windows10EnrollmentCompletionPageConfigurationId

        protected String windows10EnrollmentCompletionPageConfigurationId
      • windowsAutopilotDeploymentProfileDisplayName

        protected String windowsAutopilotDeploymentProfileDisplayName
    • Constructor Detail

      • DeviceManagementAutopilotEvent

        protected DeviceManagementAutopilotEvent()
    • Method Detail

      • odataTypeName

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

        public static DeviceManagementAutopilotEvent.Builder builderDeviceManagementAutopilotEvent()
        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
      • getAccountSetupDuration

        public Optional<Duration> getAccountSetupDuration()
        “Time spent in user ESP.”
        Returns:
        property accountSetupDuration
      • withAccountSetupDuration

        public DeviceManagementAutopilotEvent withAccountSetupDuration​(Duration accountSetupDuration)
        Returns an immutable copy of this with just the accountSetupDuration 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.

        “Time spent in user ESP.”

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

        public Optional<WindowsAutopilotDeploymentState> getAccountSetupStatus()
        “Deployment status for the enrollment status page account setup phase.”
        Returns:
        property accountSetupStatus
      • withAccountSetupStatus

        public DeviceManagementAutopilotEvent withAccountSetupStatus​(WindowsAutopilotDeploymentState accountSetupStatus)
        Returns an immutable copy of this with just the accountSetupStatus 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.

        “Deployment status for the enrollment status page account setup phase.”

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

        public Optional<Duration> getDeploymentDuration()
        “Autopilot deployment duration including enrollment.”
        Returns:
        property deploymentDuration
      • withDeploymentDuration

        public DeviceManagementAutopilotEvent withDeploymentDuration​(Duration deploymentDuration)
        Returns an immutable copy of this with just the deploymentDuration 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.

        “Autopilot deployment duration including enrollment.”

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

        public Optional<OffsetDateTime> getDeploymentEndDateTime()
        “Deployment end time.”
        Returns:
        property deploymentEndDateTime
      • withDeploymentEndDateTime

        public DeviceManagementAutopilotEvent withDeploymentEndDateTime​(OffsetDateTime deploymentEndDateTime)
        Returns an immutable copy of this with just the deploymentEndDateTime 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.

        “Deployment end time.”

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

        public Optional<OffsetDateTime> getDeploymentStartDateTime()
        “Deployment start time.”
        Returns:
        property deploymentStartDateTime
      • withDeploymentStartDateTime

        public DeviceManagementAutopilotEvent withDeploymentStartDateTime​(OffsetDateTime deploymentStartDateTime)
        Returns an immutable copy of this with just the deploymentStartDateTime 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.

        “Deployment start time.”

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

        public Optional<WindowsAutopilotDeploymentState> getDeploymentState()
        “Deployment state like Success, Failure, InProgress, SuccessWithTimeout.”
        Returns:
        property deploymentState
      • withDeploymentState

        public DeviceManagementAutopilotEvent withDeploymentState​(WindowsAutopilotDeploymentState deploymentState)
        Returns an immutable copy of this with just the deploymentState 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.

        “Deployment state like Success, Failure, InProgress, SuccessWithTimeout.”

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

        public Optional<Duration> getDeploymentTotalDuration()
        “Total deployment duration from enrollment to Desktop screen.”
        Returns:
        property deploymentTotalDuration
      • withDeploymentTotalDuration

        public DeviceManagementAutopilotEvent withDeploymentTotalDuration​(Duration deploymentTotalDuration)
        Returns an immutable copy of this with just the deploymentTotalDuration 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.

        “Total deployment duration from enrollment to Desktop screen.”

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

        public Optional<String> getDeviceId()
        “Device id associated with the object”
        Returns:
        property deviceId
      • withDeviceId

        public DeviceManagementAutopilotEvent 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.

        “Device id associated with the object”

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

        public Optional<Duration> getDevicePreparationDuration()
        “Time spent in device enrollment.”
        Returns:
        property devicePreparationDuration
      • withDevicePreparationDuration

        public DeviceManagementAutopilotEvent withDevicePreparationDuration​(Duration devicePreparationDuration)
        Returns an immutable copy of this with just the devicePreparationDuration 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.

        “Time spent in device enrollment.”

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

        public Optional<OffsetDateTime> getDeviceRegisteredDateTime()
        “Device registration date.”
        Returns:
        property deviceRegisteredDateTime
      • withDeviceRegisteredDateTime

        public DeviceManagementAutopilotEvent withDeviceRegisteredDateTime​(OffsetDateTime deviceRegisteredDateTime)
        Returns an immutable copy of this with just the deviceRegisteredDateTime 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.

        “Device registration date.”

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

        public Optional<String> getDeviceSerialNumber()
        “Device serial number.”
        Returns:
        property deviceSerialNumber
      • withDeviceSerialNumber

        public DeviceManagementAutopilotEvent withDeviceSerialNumber​(String deviceSerialNumber)
        Returns an immutable copy of this with just the deviceSerialNumber 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.

        “Device serial number.”

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

        public Optional<Duration> getDeviceSetupDuration()
        “Time spent in device ESP.”
        Returns:
        property deviceSetupDuration
      • withDeviceSetupDuration

        public DeviceManagementAutopilotEvent withDeviceSetupDuration​(Duration deviceSetupDuration)
        Returns an immutable copy of this with just the deviceSetupDuration 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.

        “Time spent in device ESP.”

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

        public Optional<WindowsAutopilotDeploymentState> getDeviceSetupStatus()
        “Deployment status for the enrollment status page device setup phase.”
        Returns:
        property deviceSetupStatus
      • withDeviceSetupStatus

        public DeviceManagementAutopilotEvent withDeviceSetupStatus​(WindowsAutopilotDeploymentState deviceSetupStatus)
        Returns an immutable copy of this with just the deviceSetupStatus 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.

        “Deployment status for the enrollment status page device setup phase.”

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

        public Optional<String> getEnrollmentFailureDetails()
        “Enrollment failure details.”
        Returns:
        property enrollmentFailureDetails
      • withEnrollmentFailureDetails

        public DeviceManagementAutopilotEvent withEnrollmentFailureDetails​(String enrollmentFailureDetails)
        Returns an immutable copy of this with just the enrollmentFailureDetails 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.

        “Enrollment failure details.”

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

        public Optional<OffsetDateTime> getEnrollmentStartDateTime()
        “Device enrollment start date.”
        Returns:
        property enrollmentStartDateTime
      • withEnrollmentStartDateTime

        public DeviceManagementAutopilotEvent withEnrollmentStartDateTime​(OffsetDateTime enrollmentStartDateTime)
        Returns an immutable copy of this with just the enrollmentStartDateTime 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.

        “Device enrollment start date.”

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

        public Optional<EnrollmentState> getEnrollmentState()
        “Enrollment state like Enrolled, Failed.”
        Returns:
        property enrollmentState
      • withEnrollmentState

        public DeviceManagementAutopilotEvent withEnrollmentState​(EnrollmentState enrollmentState)
        Returns an immutable copy of this with just the enrollmentState 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.

        “Enrollment state like Enrolled, Failed.”

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

        public DeviceManagementAutopilotEvent withEnrollmentType​(WindowsAutopilotEnrollmentType enrollmentType)
        Returns an immutable copy of this with just the enrollmentType 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.

        “Enrollment type.”

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

        public Optional<OffsetDateTime> getEventDateTime()
        “Time when the event occurred .”
        Returns:
        property eventDateTime
      • withEventDateTime

        public DeviceManagementAutopilotEvent withEventDateTime​(OffsetDateTime eventDateTime)
        Returns an immutable copy of this with just the eventDateTime 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.

        “Time when the event occurred .”

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

        public Optional<String> getManagedDeviceName()
        “Managed device name.”
        Returns:
        property managedDeviceName
      • withManagedDeviceName

        public DeviceManagementAutopilotEvent withManagedDeviceName​(String managedDeviceName)
        Returns an immutable copy of this with just the managedDeviceName 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.

        “Managed device name.”

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

        public Optional<String> getOsVersion()
        “Device operating system version.”
        Returns:
        property osVersion
      • withOsVersion

        public DeviceManagementAutopilotEvent withOsVersion​(String osVersion)
        Returns an immutable copy of this with just the osVersion 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.

        “Device operating system version.”

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

        public Optional<Integer> getTargetedAppCount()
        “Count of applications targeted.”
        Returns:
        property targetedAppCount
      • withTargetedAppCount

        public DeviceManagementAutopilotEvent withTargetedAppCount​(Integer targetedAppCount)
        Returns an immutable copy of this with just the targetedAppCount 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.

        “Count of applications targeted.”

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

        public Optional<Integer> getTargetedPolicyCount()
        “Count of policies targeted.”
        Returns:
        property targetedPolicyCount
      • withTargetedPolicyCount

        public DeviceManagementAutopilotEvent withTargetedPolicyCount​(Integer targetedPolicyCount)
        Returns an immutable copy of this with just the targetedPolicyCount 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.

        “Count of policies targeted.”

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

        public Optional<String> getUserPrincipalName()
        “User principal name used to enroll the device.”
        Returns:
        property userPrincipalName
      • withUserPrincipalName

        public DeviceManagementAutopilotEvent withUserPrincipalName​(String userPrincipalName)
        Returns an immutable copy of this with just the userPrincipalName 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.

        “User principal name used to enroll the device.”

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

        public Optional<String> getWindows10EnrollmentCompletionPageConfigurationDisplayName()
        “Enrollment Status Page profile name”
        Returns:
        property windows10EnrollmentCompletionPageConfigurationDisplayName
      • withWindows10EnrollmentCompletionPageConfigurationDisplayName

        public DeviceManagementAutopilotEvent withWindows10EnrollmentCompletionPageConfigurationDisplayName​(String windows10EnrollmentCompletionPageConfigurationDisplayName)
        Returns an immutable copy of this with just the windows10EnrollmentCompletionPageConfigurationDisplayName 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.

        “Enrollment Status Page profile name”

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

        public Optional<String> getWindows10EnrollmentCompletionPageConfigurationId()
        “Enrollment Status Page profile ID”
        Returns:
        property windows10EnrollmentCompletionPageConfigurationId
      • withWindows10EnrollmentCompletionPageConfigurationId

        public DeviceManagementAutopilotEvent withWindows10EnrollmentCompletionPageConfigurationId​(String windows10EnrollmentCompletionPageConfigurationId)
        Returns an immutable copy of this with just the windows10EnrollmentCompletionPageConfigurationId 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.

        “Enrollment Status Page profile ID”

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

        public Optional<String> getWindowsAutopilotDeploymentProfileDisplayName()
        “Autopilot profile name.”
        Returns:
        property windowsAutopilotDeploymentProfileDisplayName
      • withWindowsAutopilotDeploymentProfileDisplayName

        public DeviceManagementAutopilotEvent withWindowsAutopilotDeploymentProfileDisplayName​(String windowsAutopilotDeploymentProfileDisplayName)
        Returns an immutable copy of this with just the windowsAutopilotDeploymentProfileDisplayName 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.

        “Autopilot profile name.”

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