public enum QueryResultType extends Enum<QueryResultType>
Enum Constant and Description |
---|
DEVICE_REGISTRATION
The query result in a list of enrollments.
|
ENROLLMENT
The query result in a list of enrollments.
|
ENROLLMENT_GROUP
The query result in a list of device registrations.
|
UNKNOWN
the provisioning service cannot parse the information in the body.
|
Modifier and Type | Method and Description |
---|---|
static QueryResultType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static QueryResultType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@SerializedName(value="unknown") public static final QueryResultType UNKNOWN
String
and
parser it depending on the query the you sent.@SerializedName(value="enrollment") public static final QueryResultType ENROLLMENT
IndividualEnrollment
.@SerializedName(value="enrollmentGroup") public static final QueryResultType ENROLLMENT_GROUP
EnrollmentGroup
.@SerializedName(value="deviceRegistration") public static final QueryResultType DEVICE_REGISTRATION
DeviceRegistrationState
.public static QueryResultType[] values()
for (QueryResultType c : QueryResultType.values()) System.out.println(c);
public static QueryResultType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2022. All rights reserved.