Package com.microsoft.graph.models
Class EnrollmentTroubleshootingEvent
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.DeviceManagementTroubleshootingEvent
com.microsoft.graph.models.EnrollmentTroubleshootingEvent
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder,com.microsoft.kiota.serialization.Parsable,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class EnrollmentTroubleshootingEvent
extends DeviceManagementTroubleshootingEvent
implements com.microsoft.kiota.serialization.Parsable
Event representing an enrollment failure.
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore -
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a newEnrollmentTroubleshootingEventand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptioncreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the deviceId property value.Gets the enrollmentType property value.Gets the failureCategory property value.Gets the failureReason property value.The deserialization information for the current modelGets the managedDeviceIdentifier property value.Gets the operatingSystem property value.Gets the osVersion property value.Gets the userId property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidsetDeviceId(String value) Sets the deviceId property value.voidSets the enrollmentType property value.voidSets the failureCategory property value.voidsetFailureReason(String value) Sets the failureReason property value.voidsetManagedDeviceIdentifier(String value) Sets the managedDeviceIdentifier property value.voidsetOperatingSystem(String value) Sets the operatingSystem property value.voidsetOsVersion(String value) Sets the osVersion property value.voidSets the userId property value.Methods inherited from class com.microsoft.graph.models.DeviceManagementTroubleshootingEvent
getCorrelationId, getEventDateTime, setCorrelationId, setEventDateTimeMethods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
EnrollmentTroubleshootingEvent
public EnrollmentTroubleshootingEvent()Instantiates a newEnrollmentTroubleshootingEventand sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static EnrollmentTroubleshootingEvent createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator value- Parameters:
parseNode- The parse node to use to read the discriminator value and create the object- Returns:
- a
EnrollmentTroubleshootingEvent
-
getDeviceId
Gets the deviceId property value. Azure AD device identifier.- Returns:
- a
String
-
getEnrollmentType
Gets the enrollmentType property value. Possible ways of adding a mobile device to management.- Returns:
- a
DeviceEnrollmentType
-
getFailureCategory
Gets the failureCategory property value. Top level failure categories for enrollment.- Returns:
- a
DeviceEnrollmentFailureReason
-
getFailureReason
Gets the failureReason property value. Detailed failure reason.- Returns:
- a
String
-
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model- Specified by:
getFieldDeserializersin interfacecom.microsoft.kiota.serialization.Parsable- Overrides:
getFieldDeserializersin classDeviceManagementTroubleshootingEvent- Returns:
- a
Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getManagedDeviceIdentifier
Gets the managedDeviceIdentifier property value. Device identifier created or collected by Intune.- Returns:
- a
String
-
getOperatingSystem
Gets the operatingSystem property value. Operating System.- Returns:
- a
String
-
getOsVersion
Gets the osVersion property value. OS Version.- Returns:
- a
String
-
getUserId
Gets the userId property value. Identifier for the user that tried to enroll the device.- Returns:
- a
String
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object- Specified by:
serializein interfacecom.microsoft.kiota.serialization.Parsable- Overrides:
serializein classDeviceManagementTroubleshootingEvent- Parameters:
writer- Serialization writer to use to serialize this model
-
setDeviceId
Sets the deviceId property value. Azure AD device identifier.- Parameters:
value- Value to set for the deviceId property.
-
setEnrollmentType
Sets the enrollmentType property value. Possible ways of adding a mobile device to management.- Parameters:
value- Value to set for the enrollmentType property.
-
setFailureCategory
Sets the failureCategory property value. Top level failure categories for enrollment.- Parameters:
value- Value to set for the failureCategory property.
-
setFailureReason
Sets the failureReason property value. Detailed failure reason.- Parameters:
value- Value to set for the failureReason property.
-
setManagedDeviceIdentifier
Sets the managedDeviceIdentifier property value. Device identifier created or collected by Intune.- Parameters:
value- Value to set for the managedDeviceIdentifier property.
-
setOperatingSystem
Sets the operatingSystem property value. Operating System.- Parameters:
value- Value to set for the operatingSystem property.
-
setOsVersion
Sets the osVersion property value. OS Version.- Parameters:
value- Value to set for the osVersion property.
-
setUserId
Sets the userId property value. Identifier for the user that tried to enroll the device.- Parameters:
value- Value to set for the userId property.
-