public enum StravaSubscriptionAspectType extends Enum<StravaSubscriptionAspectType> implements StravaReferenceType<Integer>
| Enum Constant and Description |
|---|
CREATE
Creation of an object (e.g.for activities, event is triggered when an activity is uploaded or manually created
|
UNKNOWN
Unknown - should never occur but may do if Strava API implementation has changed
|
| Modifier and Type | Method and Description |
|---|---|
static StravaSubscriptionAspectType |
create(Integer id)
Used by JSON serialisation
|
String |
getDescription() |
Integer |
getId() |
Integer |
getValue()
Used by JSON serialisation
|
String |
toString() |
static StravaSubscriptionAspectType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StravaSubscriptionAspectType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StravaSubscriptionAspectType CREATE
public static final StravaSubscriptionAspectType UNKNOWN
public static StravaSubscriptionAspectType[] values()
for (StravaSubscriptionAspectType c : StravaSubscriptionAspectType.values()) System.out.println(c);
public static StravaSubscriptionAspectType 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 StravaSubscriptionAspectType create(Integer id)
id - IdentifierUNKNOWN if there is no matchpublic String getDescription()
getDescription in interface StravaReferenceType<Integer>public Integer getId()
getId in interface StravaReferenceType<Integer>public Integer getValue()
getValue in interface StravaReferenceType<Integer>public String toString()
toString in interface StravaReferenceType<Integer>toString in class Enum<StravaSubscriptionAspectType>Enum.toString()Copyright © 2016 Dan Shannon. All rights reserved.