public enum SignInType extends Enum<SignInType>
Modifier and Type | Class and Description |
---|---|
static class |
SignInType.Adapter |
Enum Constant and Description |
---|
EMAIL_MESSAGE |
EMAIL_PASSWORD |
EXTERNAL_ID_PASSWORD |
PHONE_MESSAGE |
PHONE_PASSWORD |
Modifier and Type | Method and Description |
---|---|
static SignInType |
fromValue(String text) |
String |
getValue() |
String |
toString() |
static SignInType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SignInType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SignInType EMAIL_PASSWORD
public static final SignInType PHONE_PASSWORD
public static final SignInType EXTERNAL_ID_PASSWORD
public static final SignInType EMAIL_MESSAGE
public static final SignInType PHONE_MESSAGE
public static SignInType[] values()
for (SignInType c : SignInType.values()) System.out.println(c);
public static SignInType 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 nullpublic String getValue()
public String toString()
toString
in class Enum<SignInType>
public static SignInType fromValue(String text)
Copyright © 2023 Sage Bionetworks. All rights reserved.