Package com.microsoft.graph.models
Enum Class DeviceEnrollmentFailureReason
java.lang.Object
java.lang.Enum<DeviceEnrollmentFailureReason>
com.microsoft.graph.models.DeviceEnrollmentFailureReason
- All Implemented Interfaces:
com.microsoft.kiota.serialization.ValuedEnum,Serializable,Comparable<DeviceEnrollmentFailureReason>,Constable
@Generated("com.microsoft.kiota")
public enum DeviceEnrollmentFailureReason
extends Enum<DeviceEnrollmentFailureReason>
implements com.microsoft.kiota.serialization.ValuedEnum
Top level failure categories for enrollment.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionFailed to validate the account for enrollment.Authentication failedCall was authenticated, but not authorized to enroll.Client sent a request that is not understood/supported by the service.Client timed out or enrollment was aborted by enduser.Device is not supported for mobile device management.Enrollment restrictions configured by admin blocked this enrollment.Feature(s) used by this enrollment are not supported for this account.Account is in maintenance.Default value, failure reason is unknown.Enrollment was abandoned by enduser.User could not be validated. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiongetValue()Returns the enum constant of this class with the specified name.static DeviceEnrollmentFailureReason[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Unknown
Default value, failure reason is unknown. -
Authentication
Authentication failed -
Authorization
Call was authenticated, but not authorized to enroll. -
AccountValidation
Failed to validate the account for enrollment. (Account blocked, enrollment not enabled) -
UserValidation
User could not be validated. (User does not exist, missing license) -
DeviceNotSupported
Device is not supported for mobile device management. -
InMaintenance
Account is in maintenance. -
BadRequest
Client sent a request that is not understood/supported by the service. -
FeatureNotSupported
Feature(s) used by this enrollment are not supported for this account. -
EnrollmentRestrictionsEnforced
Enrollment restrictions configured by admin blocked this enrollment. -
ClientDisconnected
Client timed out or enrollment was aborted by enduser. -
UserAbandonment
Enrollment was abandoned by enduser. (Enduser started onboarding but failed to complete it in timely manner)
-
-
Field Details
-
value
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
- Specified by:
getValuein interfacecom.microsoft.kiota.serialization.ValuedEnum
-
forValue
-