Package io.voucherify.client.model
Class VoucherWithCategoriesGift.EffectEnum.Adapter
java.lang.Object
com.google.gson.TypeAdapter<VoucherWithCategoriesGift.EffectEnum>
io.voucherify.client.model.VoucherWithCategoriesGift.EffectEnum.Adapter
- Enclosing class:
- VoucherWithCategoriesGift.EffectEnum
public static class VoucherWithCategoriesGift.EffectEnum.Adapter
extends com.google.gson.TypeAdapter<VoucherWithCategoriesGift.EffectEnum>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionread(com.google.gson.stream.JsonReader jsonReader) voidwrite(com.google.gson.stream.JsonWriter jsonWriter, VoucherWithCategoriesGift.EffectEnum 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, VoucherWithCategoriesGift.EffectEnum enumeration) throws IOException - Specified by:
writein classcom.google.gson.TypeAdapter<VoucherWithCategoriesGift.EffectEnum>- Throws:
IOException
-
read
public VoucherWithCategoriesGift.EffectEnum read(com.google.gson.stream.JsonReader jsonReader) throws IOException - Specified by:
readin classcom.google.gson.TypeAdapter<VoucherWithCategoriesGift.EffectEnum>- Throws:
IOException
-