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