Package com.esri.arcgisruntime.portal
Enum SubscriptionInfo.State
- java.lang.Object
-
- java.lang.Enum<SubscriptionInfo.State>
-
- com.esri.arcgisruntime.portal.SubscriptionInfo.State
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SubscriptionInfo.State>
- Enclosing class:
- SubscriptionInfo
public static enum SubscriptionInfo.State extends java.lang.Enum<SubscriptionInfo.State>
Signifies the state of the user's subscription.- Since:
- 100.9.0
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTIVE
Subscription is active and allows all functionality.CANCELED
Subscription was canceled.DELETED
Subscription was deleted.EXPIRED
Subscription has expired.RESTRICTED
Subscription has run out of credits.SUSPENDED
Subscription was suspended.UNKNOWN
Subscription state is unknown.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
Returns a string representing the subscription state.static SubscriptionInfo.State
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SubscriptionInfo.State[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ACTIVE
@SerializedName("active") public static final SubscriptionInfo.State ACTIVE
Subscription is active and allows all functionality.- Since:
- 100.9.0
-
CANCELED
@SerializedName("cancelled") public static final SubscriptionInfo.State CANCELED
Subscription was canceled.- Since:
- 100.9.0
-
DELETED
@SerializedName("deleted") public static final SubscriptionInfo.State DELETED
Subscription was deleted.- Since:
- 100.9.0
-
EXPIRED
@SerializedName("expired") public static final SubscriptionInfo.State EXPIRED
Subscription has expired.- Since:
- 100.9.0
-
RESTRICTED
@SerializedName("restricted") public static final SubscriptionInfo.State RESTRICTED
Subscription has run out of credits.- Since:
- 100.9.0
-
SUSPENDED
@SerializedName("suspended") public static final SubscriptionInfo.State SUSPENDED
Subscription was suspended.- Since:
- 100.9.0
-
UNKNOWN
@SerializedName("unknown") public static final SubscriptionInfo.State UNKNOWN
Subscription state is unknown.- Since:
- 100.9.0
-
-
Method Detail
-
values
public static SubscriptionInfo.State[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SubscriptionInfo.State c : SubscriptionInfo.State.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SubscriptionInfo.State valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
toString
public java.lang.String toString()
Returns a string representing the subscription state.- Overrides:
toString
in classjava.lang.Enum<SubscriptionInfo.State>
- Returns:
- a string representing the subscription state
- Since:
- 100.9.0
-
-