public enum ActivityErrorReason extends Enum<ActivityErrorReason>
Java class for ActivityError.Reason.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="ActivityError.Reason">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="ACTIVITIES_FEATURE_REQUIRED"/>
<enumeration value="UNSUPPORTED_COMPANY_TYPE"/>
<enumeration value="UNKNOWN"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
ACTIVITIES_FEATURE_REQUIRED
The 'activities' feature is required but not enabled.
|
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
|
UNSUPPORTED_COMPANY_TYPE
Activity group cannot be associated with the company types.
|
| Modifier and Type | Method and Description |
|---|---|
static ActivityErrorReason |
fromValue(String v) |
String |
value() |
static ActivityErrorReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ActivityErrorReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ActivityErrorReason ACTIVITIES_FEATURE_REQUIRED
public static final ActivityErrorReason UNSUPPORTED_COMPANY_TYPE
public static final ActivityErrorReason UNKNOWN
public static ActivityErrorReason[] values()
for (ActivityErrorReason c : ActivityErrorReason.values()) System.out.println(c);
public static ActivityErrorReason 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 value()
public static ActivityErrorReason fromValue(String v)
Copyright © 2018. All Rights Reserved.