public enum APIEndpoint extends Enum<APIEndpoint>
| Enum Constant and Description |
|---|
SEARCH |
SELF_PROFILE |
STUDENT_PROFILE |
| Modifier and Type | Method and Description |
|---|---|
String |
toString()
Returns the enum, converted to api endpoint url.
|
static APIEndpoint |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static APIEndpoint[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final APIEndpoint STUDENT_PROFILE
public static final APIEndpoint SELF_PROFILE
public static final APIEndpoint SEARCH
public static APIEndpoint[] values()
for (APIEndpoint c : APIEndpoint.values()) System.out.println(c);
public static APIEndpoint 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 toString()
toString in class Enum<APIEndpoint>Copyright © 2021. All rights reserved.