Package io.stigg.api.operations.fragment
Enum PromotionalEntitlementFragmentImpl_ResponseAdapter.PromotionalEntitlementFragment
- java.lang.Object
-
- java.lang.Enum<PromotionalEntitlementFragmentImpl_ResponseAdapter.PromotionalEntitlementFragment>
-
- io.stigg.api.operations.fragment.PromotionalEntitlementFragmentImpl_ResponseAdapter.PromotionalEntitlementFragment
-
- All Implemented Interfaces:
com.apollographql.apollo3.api.Adapter<PromotionalEntitlementFragment>,java.io.Serializable,java.lang.Comparable<PromotionalEntitlementFragmentImpl_ResponseAdapter.PromotionalEntitlementFragment>
- Enclosing class:
- PromotionalEntitlementFragmentImpl_ResponseAdapter
public static enum PromotionalEntitlementFragmentImpl_ResponseAdapter.PromotionalEntitlementFragment extends java.lang.Enum<PromotionalEntitlementFragmentImpl_ResponseAdapter.PromotionalEntitlementFragment> implements com.apollographql.apollo3.api.Adapter<PromotionalEntitlementFragment>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INSTANCE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PromotionalEntitlementFragmentfromJson(com.apollographql.apollo3.api.json.JsonReader reader, com.apollographql.apollo3.api.CustomScalarAdapters customScalarAdapters)voidtoJson(com.apollographql.apollo3.api.json.JsonWriter writer, com.apollographql.apollo3.api.CustomScalarAdapters customScalarAdapters, PromotionalEntitlementFragment value)static PromotionalEntitlementFragmentImpl_ResponseAdapter.PromotionalEntitlementFragmentvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static PromotionalEntitlementFragmentImpl_ResponseAdapter.PromotionalEntitlementFragment[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INSTANCE
public static final PromotionalEntitlementFragmentImpl_ResponseAdapter.PromotionalEntitlementFragment INSTANCE
-
-
Method Detail
-
values
public static PromotionalEntitlementFragmentImpl_ResponseAdapter.PromotionalEntitlementFragment[] 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 (PromotionalEntitlementFragmentImpl_ResponseAdapter.PromotionalEntitlementFragment c : PromotionalEntitlementFragmentImpl_ResponseAdapter.PromotionalEntitlementFragment.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PromotionalEntitlementFragmentImpl_ResponseAdapter.PromotionalEntitlementFragment 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
-
fromJson
public PromotionalEntitlementFragment fromJson(com.apollographql.apollo3.api.json.JsonReader reader, com.apollographql.apollo3.api.CustomScalarAdapters customScalarAdapters) throws java.io.IOException
- Specified by:
fromJsonin interfacecom.apollographql.apollo3.api.Adapter<PromotionalEntitlementFragment>- Throws:
java.io.IOException
-
toJson
public void toJson(com.apollographql.apollo3.api.json.JsonWriter writer, com.apollographql.apollo3.api.CustomScalarAdapters customScalarAdapters, PromotionalEntitlementFragment value) throws java.io.IOException- Specified by:
toJsonin interfacecom.apollographql.apollo3.api.Adapter<PromotionalEntitlementFragment>- Throws:
java.io.IOException
-
-