public enum StravaClubMembershipStatus extends Enum<StravaClubMembershipStatus> implements StravaReferenceType<String>
| Enum Constant and Description |
|---|
MEMBER
Current club member
|
PENDING
Pending membership approval
|
UNKNOWN
Unknown status
|
| Modifier and Type | Method and Description |
|---|---|
static StravaClubMembershipStatus |
create(String id) |
String |
getDescription() |
String |
getId() |
String |
getValue() |
static StravaClubMembershipStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StravaClubMembershipStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOftoStringpublic static final StravaClubMembershipStatus MEMBER
public static final StravaClubMembershipStatus PENDING
public static final StravaClubMembershipStatus UNKNOWN
public static StravaClubMembershipStatus[] values()
for (StravaClubMembershipStatus c : StravaClubMembershipStatus.values()) System.out.println(c);
public static StravaClubMembershipStatus 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 static StravaClubMembershipStatus create(String id)
id - The string representation of the status as returned by
the Strava APIStravaClubMembershipStatus with the matching id, or
UNKNOWN if there is no matchClubMembershipStatusSerializer.deserialize(com.google.gson.JsonElement,
java.lang.reflect.Type, com.google.gson.JsonDeserializationContext)public String getDescription()
getDescription in interface StravaReferenceType<String>public String getId()
getId in interface StravaReferenceType<String>public String getValue()
getValue in interface StravaReferenceType<String>Copyright © 2016 Dan Shannon. All rights reserved.