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