Class DeviceManagementAutopilotEvent
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.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.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDeviceManagementAutopilotEvent.Builder
-
Field Summary
-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedDeviceManagementAutopilotEvent()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeviceManagementAutopilotEvent.BuilderbuilderDeviceManagementAutopilotEvent()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<Duration>getAccountSetupDuration()“Time spent in user ESP.”Optional<WindowsAutopilotDeploymentState>getAccountSetupStatus()“Deployment status for the enrollment status page account setup phase.”com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<Duration>getDeploymentDuration()“Autopilot deployment duration including enrollment.”Optional<OffsetDateTime>getDeploymentEndDateTime()“Deployment end time.”Optional<OffsetDateTime>getDeploymentStartDateTime()“Deployment start time.”Optional<WindowsAutopilotDeploymentState>getDeploymentState()“Deployment state like Success, Failure, InProgress, SuccessWithTimeout.”Optional<Duration>getDeploymentTotalDuration()“Total deployment duration from enrollment to Desktop screen.”Optional<String>getDeviceId()“Device id associated with the object”Optional<Duration>getDevicePreparationDuration()“Time spent in device enrollment.”Optional<OffsetDateTime>getDeviceRegisteredDateTime()“Device registration date.”Optional<String>getDeviceSerialNumber()“Device serial number.”Optional<Duration>getDeviceSetupDuration()“Time spent in device ESP.”Optional<WindowsAutopilotDeploymentState>getDeviceSetupStatus()“Deployment status for the enrollment status page device setup phase.”Optional<String>getEnrollmentFailureDetails()“Enrollment failure details.”Optional<OffsetDateTime>getEnrollmentStartDateTime()“Device enrollment start date.”Optional<EnrollmentState>getEnrollmentState()“Enrollment state like Enrolled, Failed.”Optional<WindowsAutopilotEnrollmentType>getEnrollmentType()“Enrollment type.”Optional<OffsetDateTime>getEventDateTime()“Time when the event occurred .”Optional<String>getManagedDeviceName()“Managed device name.”Optional<String>getOsVersion()“Device operating system version.”DeviceManagementAutopilotPolicyStatusDetailCollectionRequestgetPolicyStatusDetails()“Policy and application status details for this device.”Optional<Integer>getTargetedAppCount()“Count of applications targeted.”Optional<Integer>getTargetedPolicyCount()“Count of policies targeted.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<String>getUserPrincipalName()“User principal name used to enroll the device.”Optional<String>getWindows10EnrollmentCompletionPageConfigurationDisplayName()“Enrollment Status Page profile name”Optional<String>getWindows10EnrollmentCompletionPageConfigurationId()“Enrollment Status Page profile ID”Optional<String>getWindowsAutopilotDeploymentProfileDisplayName()“Autopilot profile name.”StringodataTypeName()DeviceManagementAutopilotEventpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)DeviceManagementAutopilotEventput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()DeviceManagementAutopilotEventwithAccountSetupDuration(Duration accountSetupDuration)Returns an immutable copy ofthiswith just theaccountSetupDurationfield changed.DeviceManagementAutopilotEventwithAccountSetupStatus(WindowsAutopilotDeploymentState accountSetupStatus)Returns an immutable copy ofthiswith just theaccountSetupStatusfield changed.DeviceManagementAutopilotEventwithDeploymentDuration(Duration deploymentDuration)Returns an immutable copy ofthiswith just thedeploymentDurationfield changed.DeviceManagementAutopilotEventwithDeploymentEndDateTime(OffsetDateTime deploymentEndDateTime)Returns an immutable copy ofthiswith just thedeploymentEndDateTimefield changed.DeviceManagementAutopilotEventwithDeploymentStartDateTime(OffsetDateTime deploymentStartDateTime)Returns an immutable copy ofthiswith just thedeploymentStartDateTimefield changed.DeviceManagementAutopilotEventwithDeploymentState(WindowsAutopilotDeploymentState deploymentState)Returns an immutable copy ofthiswith just thedeploymentStatefield changed.DeviceManagementAutopilotEventwithDeploymentTotalDuration(Duration deploymentTotalDuration)Returns an immutable copy ofthiswith just thedeploymentTotalDurationfield changed.DeviceManagementAutopilotEventwithDeviceId(String deviceId)Returns an immutable copy ofthiswith just thedeviceIdfield changed.DeviceManagementAutopilotEventwithDevicePreparationDuration(Duration devicePreparationDuration)Returns an immutable copy ofthiswith just thedevicePreparationDurationfield changed.DeviceManagementAutopilotEventwithDeviceRegisteredDateTime(OffsetDateTime deviceRegisteredDateTime)Returns an immutable copy ofthiswith just thedeviceRegisteredDateTimefield changed.DeviceManagementAutopilotEventwithDeviceSerialNumber(String deviceSerialNumber)Returns an immutable copy ofthiswith just thedeviceSerialNumberfield changed.DeviceManagementAutopilotEventwithDeviceSetupDuration(Duration deviceSetupDuration)Returns an immutable copy ofthiswith just thedeviceSetupDurationfield changed.DeviceManagementAutopilotEventwithDeviceSetupStatus(WindowsAutopilotDeploymentState deviceSetupStatus)Returns an immutable copy ofthiswith just thedeviceSetupStatusfield changed.DeviceManagementAutopilotEventwithEnrollmentFailureDetails(String enrollmentFailureDetails)Returns an immutable copy ofthiswith just theenrollmentFailureDetailsfield changed.DeviceManagementAutopilotEventwithEnrollmentStartDateTime(OffsetDateTime enrollmentStartDateTime)Returns an immutable copy ofthiswith just theenrollmentStartDateTimefield changed.DeviceManagementAutopilotEventwithEnrollmentState(EnrollmentState enrollmentState)Returns an immutable copy ofthiswith just theenrollmentStatefield changed.DeviceManagementAutopilotEventwithEnrollmentType(WindowsAutopilotEnrollmentType enrollmentType)Returns an immutable copy ofthiswith just theenrollmentTypefield changed.DeviceManagementAutopilotEventwithEventDateTime(OffsetDateTime eventDateTime)Returns an immutable copy ofthiswith just theeventDateTimefield changed.DeviceManagementAutopilotEventwithManagedDeviceName(String managedDeviceName)Returns an immutable copy ofthiswith just themanagedDeviceNamefield changed.DeviceManagementAutopilotEventwithOsVersion(String osVersion)Returns an immutable copy ofthiswith just theosVersionfield changed.DeviceManagementAutopilotEventwithTargetedAppCount(Integer targetedAppCount)Returns an immutable copy ofthiswith just thetargetedAppCountfield changed.DeviceManagementAutopilotEventwithTargetedPolicyCount(Integer targetedPolicyCount)Returns an immutable copy ofthiswith just thetargetedPolicyCountfield changed.DeviceManagementAutopilotEventwithUnmappedField(String name, String value)DeviceManagementAutopilotEventwithUserPrincipalName(String userPrincipalName)Returns an immutable copy ofthiswith just theuserPrincipalNamefield changed.DeviceManagementAutopilotEventwithWindows10EnrollmentCompletionPageConfigurationDisplayName(String windows10EnrollmentCompletionPageConfigurationDisplayName)Returns an immutable copy ofthiswith just thewindows10EnrollmentCompletionPageConfigurationDisplayNamefield changed.DeviceManagementAutopilotEventwithWindows10EnrollmentCompletionPageConfigurationId(String windows10EnrollmentCompletionPageConfigurationId)Returns an immutable copy ofthiswith just thewindows10EnrollmentCompletionPageConfigurationIdfield changed.DeviceManagementAutopilotEventwithWindowsAutopilotDeploymentProfileDisplayName(String windowsAutopilotDeploymentProfileDisplayName)Returns an immutable copy ofthiswith just thewindowsAutopilotDeploymentProfileDisplayNamefield changed.
-
-
-
Field Detail
-
accountSetupDuration
protected Duration accountSetupDuration
-
accountSetupStatus
protected WindowsAutopilotDeploymentState accountSetupStatus
-
deploymentDuration
protected Duration deploymentDuration
-
deploymentEndDateTime
protected OffsetDateTime deploymentEndDateTime
-
deploymentStartDateTime
protected OffsetDateTime deploymentStartDateTime
-
deploymentState
protected WindowsAutopilotDeploymentState deploymentState
-
deploymentTotalDuration
protected Duration deploymentTotalDuration
-
deviceId
protected String deviceId
-
devicePreparationDuration
protected Duration devicePreparationDuration
-
deviceRegisteredDateTime
protected OffsetDateTime deviceRegisteredDateTime
-
deviceSerialNumber
protected String deviceSerialNumber
-
deviceSetupDuration
protected Duration deviceSetupDuration
-
deviceSetupStatus
protected WindowsAutopilotDeploymentState deviceSetupStatus
-
enrollmentFailureDetails
protected String enrollmentFailureDetails
-
enrollmentStartDateTime
protected OffsetDateTime enrollmentStartDateTime
-
enrollmentState
protected EnrollmentState enrollmentState
-
enrollmentType
protected WindowsAutopilotEnrollmentType enrollmentType
-
eventDateTime
protected OffsetDateTime eventDateTime
-
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
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
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:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classEntity
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classEntity
-
getAccountSetupDuration
public Optional<Duration> getAccountSetupDuration()
“Time spent in user ESP.”- Returns:
- property accountSetupDuration
-
withAccountSetupDuration
public DeviceManagementAutopilotEvent withAccountSetupDuration(Duration accountSetupDuration)
Returns an immutable copy ofthiswith just theaccountSetupDurationfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Time spent in user ESP.”
- Parameters:
accountSetupDuration- new value ofaccountSetupDurationfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theaccountSetupDurationfield 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 ofthiswith just theaccountSetupStatusfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.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 ofaccountSetupStatusfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theaccountSetupStatusfield changed
-
getDeploymentDuration
public Optional<Duration> getDeploymentDuration()
“Autopilot deployment duration including enrollment.”- Returns:
- property deploymentDuration
-
withDeploymentDuration
public DeviceManagementAutopilotEvent withDeploymentDuration(Duration deploymentDuration)
Returns an immutable copy ofthiswith just thedeploymentDurationfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Autopilot deployment duration including enrollment.”
- Parameters:
deploymentDuration- new value ofdeploymentDurationfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeploymentDurationfield changed
-
getDeploymentEndDateTime
public Optional<OffsetDateTime> getDeploymentEndDateTime()
“Deployment end time.”- Returns:
- property deploymentEndDateTime
-
withDeploymentEndDateTime
public DeviceManagementAutopilotEvent withDeploymentEndDateTime(OffsetDateTime deploymentEndDateTime)
Returns an immutable copy ofthiswith just thedeploymentEndDateTimefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Deployment end time.”
- Parameters:
deploymentEndDateTime- new value ofdeploymentEndDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeploymentEndDateTimefield changed
-
getDeploymentStartDateTime
public Optional<OffsetDateTime> getDeploymentStartDateTime()
“Deployment start time.”- Returns:
- property deploymentStartDateTime
-
withDeploymentStartDateTime
public DeviceManagementAutopilotEvent withDeploymentStartDateTime(OffsetDateTime deploymentStartDateTime)
Returns an immutable copy ofthiswith just thedeploymentStartDateTimefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Deployment start time.”
- Parameters:
deploymentStartDateTime- new value ofdeploymentStartDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeploymentStartDateTimefield 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 ofthiswith just thedeploymentStatefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. 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 ofdeploymentStatefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeploymentStatefield 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 ofthiswith just thedeploymentTotalDurationfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.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 ofdeploymentTotalDurationfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeploymentTotalDurationfield 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 ofthiswith just thedeviceIdfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.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 ofdeviceIdfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeviceIdfield changed
-
getDevicePreparationDuration
public Optional<Duration> getDevicePreparationDuration()
“Time spent in device enrollment.”- Returns:
- property devicePreparationDuration
-
withDevicePreparationDuration
public DeviceManagementAutopilotEvent withDevicePreparationDuration(Duration devicePreparationDuration)
Returns an immutable copy ofthiswith just thedevicePreparationDurationfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Time spent in device enrollment.”
- Parameters:
devicePreparationDuration- new value ofdevicePreparationDurationfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedevicePreparationDurationfield changed
-
getDeviceRegisteredDateTime
public Optional<OffsetDateTime> getDeviceRegisteredDateTime()
“Device registration date.”- Returns:
- property deviceRegisteredDateTime
-
withDeviceRegisteredDateTime
public DeviceManagementAutopilotEvent withDeviceRegisteredDateTime(OffsetDateTime deviceRegisteredDateTime)
Returns an immutable copy ofthiswith just thedeviceRegisteredDateTimefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Device registration date.”
- Parameters:
deviceRegisteredDateTime- new value ofdeviceRegisteredDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeviceRegisteredDateTimefield changed
-
getDeviceSerialNumber
public Optional<String> getDeviceSerialNumber()
“Device serial number.”- Returns:
- property deviceSerialNumber
-
withDeviceSerialNumber
public DeviceManagementAutopilotEvent withDeviceSerialNumber(String deviceSerialNumber)
Returns an immutable copy ofthiswith just thedeviceSerialNumberfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Device serial number.”
- Parameters:
deviceSerialNumber- new value ofdeviceSerialNumberfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeviceSerialNumberfield changed
-
getDeviceSetupDuration
public Optional<Duration> getDeviceSetupDuration()
“Time spent in device ESP.”- Returns:
- property deviceSetupDuration
-
withDeviceSetupDuration
public DeviceManagementAutopilotEvent withDeviceSetupDuration(Duration deviceSetupDuration)
Returns an immutable copy ofthiswith just thedeviceSetupDurationfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Time spent in device ESP.”
- Parameters:
deviceSetupDuration- new value ofdeviceSetupDurationfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeviceSetupDurationfield 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 ofthiswith just thedeviceSetupStatusfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. 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 ofdeviceSetupStatusfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeviceSetupStatusfield changed
-
getEnrollmentFailureDetails
public Optional<String> getEnrollmentFailureDetails()
“Enrollment failure details.”- Returns:
- property enrollmentFailureDetails
-
withEnrollmentFailureDetails
public DeviceManagementAutopilotEvent withEnrollmentFailureDetails(String enrollmentFailureDetails)
Returns an immutable copy ofthiswith just theenrollmentFailureDetailsfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Enrollment failure details.”
- Parameters:
enrollmentFailureDetails- new value ofenrollmentFailureDetailsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theenrollmentFailureDetailsfield changed
-
getEnrollmentStartDateTime
public Optional<OffsetDateTime> getEnrollmentStartDateTime()
“Device enrollment start date.”- Returns:
- property enrollmentStartDateTime
-
withEnrollmentStartDateTime
public DeviceManagementAutopilotEvent withEnrollmentStartDateTime(OffsetDateTime enrollmentStartDateTime)
Returns an immutable copy ofthiswith just theenrollmentStartDateTimefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Device enrollment start date.”
- Parameters:
enrollmentStartDateTime- new value ofenrollmentStartDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theenrollmentStartDateTimefield changed
-
getEnrollmentState
public Optional<EnrollmentState> getEnrollmentState()
“Enrollment state like Enrolled, Failed.”- Returns:
- property enrollmentState
-
withEnrollmentState
public DeviceManagementAutopilotEvent withEnrollmentState(EnrollmentState enrollmentState)
Returns an immutable copy ofthiswith just theenrollmentStatefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“Enrollment state like Enrolled, Failed.”
- Parameters:
enrollmentState- new value ofenrollmentStatefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theenrollmentStatefield changed
-
getEnrollmentType
public Optional<WindowsAutopilotEnrollmentType> getEnrollmentType()
“Enrollment type.”- Returns:
- property enrollmentType
-
withEnrollmentType
public DeviceManagementAutopilotEvent withEnrollmentType(WindowsAutopilotEnrollmentType enrollmentType)
Returns an immutable copy ofthiswith just theenrollmentTypefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“Enrollment type.”
- Parameters:
enrollmentType- new value ofenrollmentTypefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theenrollmentTypefield changed
-
getEventDateTime
public Optional<OffsetDateTime> getEventDateTime()
“Time when the event occurred .”- Returns:
- property eventDateTime
-
withEventDateTime
public DeviceManagementAutopilotEvent withEventDateTime(OffsetDateTime eventDateTime)
Returns an immutable copy ofthiswith just theeventDateTimefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“Time when the event occurred .”
- Parameters:
eventDateTime- new value ofeventDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theeventDateTimefield changed
-
getManagedDeviceName
public Optional<String> getManagedDeviceName()
“Managed device name.”- Returns:
- property managedDeviceName
-
withManagedDeviceName
public DeviceManagementAutopilotEvent withManagedDeviceName(String managedDeviceName)
Returns an immutable copy ofthiswith just themanagedDeviceNamefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“Managed device name.”
- Parameters:
managedDeviceName- new value ofmanagedDeviceNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just themanagedDeviceNamefield changed
-
getOsVersion
public Optional<String> getOsVersion()
“Device operating system version.”- Returns:
- property osVersion
-
withOsVersion
public DeviceManagementAutopilotEvent withOsVersion(String osVersion)
Returns an immutable copy ofthiswith just theosVersionfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Device operating system version.”
- Parameters:
osVersion- new value ofosVersionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theosVersionfield changed
-
getTargetedAppCount
public Optional<Integer> getTargetedAppCount()
“Count of applications targeted.”- Returns:
- property targetedAppCount
-
withTargetedAppCount
public DeviceManagementAutopilotEvent withTargetedAppCount(Integer targetedAppCount)
Returns an immutable copy ofthiswith just thetargetedAppCountfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“Count of applications targeted.”
- Parameters:
targetedAppCount- new value oftargetedAppCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thetargetedAppCountfield changed
-
getTargetedPolicyCount
public Optional<Integer> getTargetedPolicyCount()
“Count of policies targeted.”- Returns:
- property targetedPolicyCount
-
withTargetedPolicyCount
public DeviceManagementAutopilotEvent withTargetedPolicyCount(Integer targetedPolicyCount)
Returns an immutable copy ofthiswith just thetargetedPolicyCountfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Count of policies targeted.”
- Parameters:
targetedPolicyCount- new value oftargetedPolicyCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thetargetedPolicyCountfield 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 ofthiswith just theuserPrincipalNamefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. 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 ofuserPrincipalNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theuserPrincipalNamefield changed
-
getWindows10EnrollmentCompletionPageConfigurationDisplayName
public Optional<String> getWindows10EnrollmentCompletionPageConfigurationDisplayName()
“Enrollment Status Page profile name”- Returns:
- property windows10EnrollmentCompletionPageConfigurationDisplayName
-
withWindows10EnrollmentCompletionPageConfigurationDisplayName
public DeviceManagementAutopilotEvent withWindows10EnrollmentCompletionPageConfigurationDisplayName(String windows10EnrollmentCompletionPageConfigurationDisplayName)
Returns an immutable copy ofthiswith just thewindows10EnrollmentCompletionPageConfigurationDisplayNamefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Enrollment Status Page profile name”
- Parameters:
windows10EnrollmentCompletionPageConfigurationDisplayName- new value ofwindows10EnrollmentCompletionPageConfigurationDisplayNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thewindows10EnrollmentCompletionPageConfigurationDisplayNamefield changed
-
getWindows10EnrollmentCompletionPageConfigurationId
public Optional<String> getWindows10EnrollmentCompletionPageConfigurationId()
“Enrollment Status Page profile ID”- Returns:
- property windows10EnrollmentCompletionPageConfigurationId
-
withWindows10EnrollmentCompletionPageConfigurationId
public DeviceManagementAutopilotEvent withWindows10EnrollmentCompletionPageConfigurationId(String windows10EnrollmentCompletionPageConfigurationId)
Returns an immutable copy ofthiswith just thewindows10EnrollmentCompletionPageConfigurationIdfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Enrollment Status Page profile ID”
- Parameters:
windows10EnrollmentCompletionPageConfigurationId- new value ofwindows10EnrollmentCompletionPageConfigurationIdfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thewindows10EnrollmentCompletionPageConfigurationIdfield changed
-
getWindowsAutopilotDeploymentProfileDisplayName
public Optional<String> getWindowsAutopilotDeploymentProfileDisplayName()
“Autopilot profile name.”- Returns:
- property windowsAutopilotDeploymentProfileDisplayName
-
withWindowsAutopilotDeploymentProfileDisplayName
public DeviceManagementAutopilotEvent withWindowsAutopilotDeploymentProfileDisplayName(String windowsAutopilotDeploymentProfileDisplayName)
Returns an immutable copy ofthiswith just thewindowsAutopilotDeploymentProfileDisplayNamefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Autopilot profile name.”
- Parameters:
windowsAutopilotDeploymentProfileDisplayName- new value ofwindowsAutopilotDeploymentProfileDisplayNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thewindowsAutopilotDeploymentProfileDisplayNamefield changed
-
withUnmappedField
public DeviceManagementAutopilotEvent withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEntity
-
getPolicyStatusDetails
public DeviceManagementAutopilotPolicyStatusDetailCollectionRequest getPolicyStatusDetails()
“Policy and application status details for this device.”- Returns:
- navigational property policyStatusDetails
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public DeviceManagementAutopilotEvent patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public DeviceManagementAutopilotEvent put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-