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 ACTIVESubscription is active and allows all functionality.CANCELEDSubscription was canceled.DELETEDSubscription was deleted.EXPIREDSubscription has expired.RESTRICTEDSubscription has run out of credits.SUSPENDEDSubscription was suspended.UNKNOWNSubscription state is unknown.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringtoString()Returns a string representing the subscription state.static SubscriptionInfo.StatevalueOf(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 ACTIVESubscription is active and allows all functionality.- Since:
- 100.9.0
-
CANCELED
@SerializedName("cancelled") public static final SubscriptionInfo.State CANCELEDSubscription was canceled.- Since:
- 100.9.0
-
DELETED
@SerializedName("deleted") public static final SubscriptionInfo.State DELETEDSubscription was deleted.- Since:
- 100.9.0
-
EXPIRED
@SerializedName("expired") public static final SubscriptionInfo.State EXPIREDSubscription has expired.- Since:
- 100.9.0
-
RESTRICTED
@SerializedName("restricted") public static final SubscriptionInfo.State RESTRICTEDSubscription has run out of credits.- Since:
- 100.9.0
-
SUSPENDED
@SerializedName("suspended") public static final SubscriptionInfo.State SUSPENDEDSubscription was suspended.- Since:
- 100.9.0
-
UNKNOWN
@SerializedName("unknown") public static final SubscriptionInfo.State UNKNOWNSubscription 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:
toStringin classjava.lang.Enum<SubscriptionInfo.State>- Returns:
- a string representing the subscription state
- Since:
- 100.9.0
-
-