public class EnrollmentTroubleshootingEvent extends DeviceManagementTroubleshootingEvent implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
EnrollmentTroubleshootingEvent.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
deviceId |
protected DeviceEnrollmentType |
enrollmentType |
protected DeviceEnrollmentFailureReason |
failureCategory |
protected String |
failureReason |
protected String |
managedDeviceIdentifier |
protected String |
operatingSystem |
protected String |
osVersion |
protected String |
userId |
additionalInformation, additionalInformationNextLink, correlationId, eventDateTime, eventName, troubleshootingErrorDetailschangedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
EnrollmentTroubleshootingEvent() |
| Modifier and Type | Method and Description |
|---|---|
static EnrollmentTroubleshootingEvent.Builder |
builderEnrollmentTroubleshootingEvent()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<String> |
getDeviceId()
“Azure AD device identifier.”
|
Optional<DeviceEnrollmentType> |
getEnrollmentType()
“Type of the enrollment.”
|
Optional<DeviceEnrollmentFailureReason> |
getFailureCategory()
“Highlevel failure category.”
|
Optional<String> |
getFailureReason()
“Detailed failure reason.”
|
Optional<String> |
getManagedDeviceIdentifier()
“Device identifier created or collected by Intune.”
|
Optional<String> |
getOperatingSystem()
“Operating System.”
|
Optional<String> |
getOsVersion()
“OS Version.”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
Optional<String> |
getUserId()
“Identifier for the user that tried to enroll the device.”
|
String |
odataTypeName() |
EnrollmentTroubleshootingEvent |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
EnrollmentTroubleshootingEvent |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
EnrollmentTroubleshootingEvent |
withDeviceId(String deviceId)
Returns an immutable copy of
this with just the deviceId field
changed. |
EnrollmentTroubleshootingEvent |
withEnrollmentType(DeviceEnrollmentType enrollmentType)
Returns an immutable copy of
this with just the enrollmentType
field changed. |
EnrollmentTroubleshootingEvent |
withFailureCategory(DeviceEnrollmentFailureReason failureCategory)
Returns an immutable copy of
this with just the failureCategory
field changed. |
EnrollmentTroubleshootingEvent |
withFailureReason(String failureReason)
Returns an immutable copy of
this with just the failureReason
field changed. |
EnrollmentTroubleshootingEvent |
withManagedDeviceIdentifier(String managedDeviceIdentifier)
Returns an immutable copy of
this with just the managedDeviceIdentifier field changed. |
EnrollmentTroubleshootingEvent |
withOperatingSystem(String operatingSystem)
Returns an immutable copy of
this with just the operatingSystem
field changed. |
EnrollmentTroubleshootingEvent |
withOsVersion(String osVersion)
Returns an immutable copy of
this with just the osVersion field
changed. |
EnrollmentTroubleshootingEvent |
withUserId(String userId)
Returns an immutable copy of
this with just the userId field
changed. |
builderDeviceManagementTroubleshootingEvent, getAdditionalInformation, getAdditionalInformation, getCorrelationId, getEventDateTime, getEventName, getTroubleshootingErrorDetails, withCorrelationId, withEventDateTime, withEventName, withTroubleshootingErrorDetailsprotected String managedDeviceIdentifier
protected String operatingSystem
protected String osVersion
protected String userId
protected String deviceId
protected DeviceEnrollmentType enrollmentType
protected DeviceEnrollmentFailureReason failureCategory
protected String failureReason
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class DeviceManagementTroubleshootingEventpublic static EnrollmentTroubleshootingEvent.Builder builderEnrollmentTroubleshootingEvent()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class DeviceManagementTroubleshootingEventpublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class DeviceManagementTroubleshootingEventpublic Optional<String> getManagedDeviceIdentifier()
public EnrollmentTroubleshootingEvent withManagedDeviceIdentifier(String managedDeviceIdentifier)
this with just the managedDeviceIdentifier 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 identifier created or collected by Intune.”
managedDeviceIdentifier - new value of managedDeviceIdentifier field (as defined in service metadata)this with just the managedDeviceIdentifier field changedpublic Optional<String> getOperatingSystem()
public EnrollmentTroubleshootingEvent withOperatingSystem(String operatingSystem)
this with just the operatingSystem
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.
“Operating System.”
operatingSystem - new value of operatingSystem field (as defined in service metadata)this with just the operatingSystem field changedpublic EnrollmentTroubleshootingEvent withOsVersion(String osVersion)
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.
“OS Version.”
osVersion - new value of osVersion field (as defined in service metadata)this with just the osVersion field changedpublic Optional<String> getUserId()
public EnrollmentTroubleshootingEvent withUserId(String userId)
this with just the userId 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.
“Identifier for the user that tried to enroll the device.”
userId - new value of userId field (as defined in service metadata)this with just the userId field changedpublic Optional<String> getDeviceId()
public EnrollmentTroubleshootingEvent withDeviceId(String deviceId)
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.
“Azure AD device identifier.”
deviceId - new value of deviceId field (as defined in service metadata)this with just the deviceId field changedpublic Optional<DeviceEnrollmentType> getEnrollmentType()
public EnrollmentTroubleshootingEvent withEnrollmentType(DeviceEnrollmentType enrollmentType)
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.
“Type of the enrollment.”
enrollmentType - new value of enrollmentType field (as defined in service metadata)this with just the enrollmentType field changedpublic Optional<DeviceEnrollmentFailureReason> getFailureCategory()
public EnrollmentTroubleshootingEvent withFailureCategory(DeviceEnrollmentFailureReason failureCategory)
this with just the failureCategory
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.
“Highlevel failure category.”
failureCategory - new value of failureCategory field (as defined in service metadata)this with just the failureCategory field changedpublic Optional<String> getFailureReason()
public EnrollmentTroubleshootingEvent withFailureReason(String failureReason)
this with just the failureReason
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.
“Detailed failure reason.”
failureReason - new value of failureReason field (as defined in service metadata)this with just the failureReason field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class DeviceManagementTroubleshootingEventpublic EnrollmentTroubleshootingEvent patch()
this with changed fields reset.patch in class DeviceManagementTroubleshootingEventthis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic EnrollmentTroubleshootingEvent put()
this
with changed fields reset (they were ignored anyway).put in class DeviceManagementTroubleshootingEventthis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic String toString()
toString in class DeviceManagementTroubleshootingEventCopyright © 2018–2020. All rights reserved.