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