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