Package io.voucherify.client.model
Class CategoryWithStackingRulesType.StackingRulesTypeEnum.Adapter
java.lang.Object
com.google.gson.TypeAdapter<CategoryWithStackingRulesType.StackingRulesTypeEnum>
io.voucherify.client.model.CategoryWithStackingRulesType.StackingRulesTypeEnum.Adapter
- Enclosing class:
- CategoryWithStackingRulesType.StackingRulesTypeEnum
public static class CategoryWithStackingRulesType.StackingRulesTypeEnum.Adapter
extends com.google.gson.TypeAdapter<CategoryWithStackingRulesType.StackingRulesTypeEnum>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionread(com.google.gson.stream.JsonReader jsonReader) voidwrite(com.google.gson.stream.JsonWriter jsonWriter, CategoryWithStackingRulesType.StackingRulesTypeEnum enumeration) Methods inherited from class com.google.gson.TypeAdapter
fromJson, fromJson, fromJsonTree, nullSafe, toJson, toJson, toJsonTree
-
Constructor Details
-
Adapter
public Adapter()
-
-
Method Details
-
write
public void write(com.google.gson.stream.JsonWriter jsonWriter, CategoryWithStackingRulesType.StackingRulesTypeEnum enumeration) throws IOException - Specified by:
writein classcom.google.gson.TypeAdapter<CategoryWithStackingRulesType.StackingRulesTypeEnum>- Throws:
IOException
-
read
public CategoryWithStackingRulesType.StackingRulesTypeEnum read(com.google.gson.stream.JsonReader jsonReader) throws IOException - Specified by:
readin classcom.google.gson.TypeAdapter<CategoryWithStackingRulesType.StackingRulesTypeEnum>- Throws:
IOException
-