Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. See License.txt in the project root for
license information.
Code generated by Microsoft (R) AutoRest Code Generator.
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.graphrbac;
import java.util.Collection;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.microsoft.rest.ExpandableStringEnum;
Defines values for UserType.
/**
* Defines values for UserType.
*/
public final class UserType extends ExpandableStringEnum<UserType> {
Static value Member for UserType. /** Static value Member for UserType. */
public static final UserType MEMBER = fromString("Member");
Static value Guest for UserType. /** Static value Guest for UserType. */
public static final UserType GUEST = fromString("Guest");
Creates or finds a UserType from its string representation.
Params: - name – a name to look for
Returns: the corresponding UserType
/**
* Creates or finds a UserType from its string representation.
* @param name a name to look for
* @return the corresponding UserType
*/
@JsonCreator
public static UserType fromString(String name) {
return fromString(name, UserType.class);
}
Returns: known UserType values
/**
* @return known UserType values
*/
public static Collection<UserType> values() {
return values(UserType.class);
}
}