Class 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.
  • Constructor Details

    • EnrollmentTroubleshootingEvent

      public EnrollmentTroubleshootingEvent()
      Instantiates a new EnrollmentTroubleshootingEvent and 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

      @Nullable public String getDeviceId()
      Gets the deviceId property value. Azure AD device identifier.
      Returns:
      a String
    • getEnrollmentType

      @Nullable public DeviceEnrollmentType getEnrollmentType()
      Gets the enrollmentType property value. Possible ways of adding a mobile device to management.
      Returns:
      a DeviceEnrollmentType
    • getFailureCategory

      @Nullable public DeviceEnrollmentFailureReason getFailureCategory()
      Gets the failureCategory property value. Top level failure categories for enrollment.
      Returns:
      a DeviceEnrollmentFailureReason
    • getFailureReason

      @Nullable public String 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:
      getFieldDeserializers in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      getFieldDeserializers in class DeviceManagementTroubleshootingEvent
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getManagedDeviceIdentifier

      @Nullable public String getManagedDeviceIdentifier()
      Gets the managedDeviceIdentifier property value. Device identifier created or collected by Intune.
      Returns:
      a String
    • getOperatingSystem

      @Nullable public String getOperatingSystem()
      Gets the operatingSystem property value. Operating System.
      Returns:
      a String
    • getOsVersion

      @Nullable public String getOsVersion()
      Gets the osVersion property value. OS Version.
      Returns:
      a String
    • getUserId

      @Nullable public 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:
      serialize in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      serialize in class DeviceManagementTroubleshootingEvent
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setDeviceId

      public void setDeviceId(@Nullable String value)
      Sets the deviceId property value. Azure AD device identifier.
      Parameters:
      value - Value to set for the deviceId property.
    • setEnrollmentType

      public void setEnrollmentType(@Nullable DeviceEnrollmentType value)
      Sets the enrollmentType property value. Possible ways of adding a mobile device to management.
      Parameters:
      value - Value to set for the enrollmentType property.
    • setFailureCategory

      public void setFailureCategory(@Nullable DeviceEnrollmentFailureReason value)
      Sets the failureCategory property value. Top level failure categories for enrollment.
      Parameters:
      value - Value to set for the failureCategory property.
    • setFailureReason

      public void setFailureReason(@Nullable String value)
      Sets the failureReason property value. Detailed failure reason.
      Parameters:
      value - Value to set for the failureReason property.
    • setManagedDeviceIdentifier

      public void setManagedDeviceIdentifier(@Nullable String value)
      Sets the managedDeviceIdentifier property value. Device identifier created or collected by Intune.
      Parameters:
      value - Value to set for the managedDeviceIdentifier property.
    • setOperatingSystem

      public void setOperatingSystem(@Nullable String value)
      Sets the operatingSystem property value. Operating System.
      Parameters:
      value - Value to set for the operatingSystem property.
    • setOsVersion

      public void setOsVersion(@Nullable String value)
      Sets the osVersion property value. OS Version.
      Parameters:
      value - Value to set for the osVersion property.
    • setUserId

      public void setUserId(@Nullable String value)
      Sets the userId property value. Identifier for the user that tried to enroll the device.
      Parameters:
      value - Value to set for the userId property.