Package sh.ory.model
Class Subscription.CurrentPlanEnum.Adapter
java.lang.Object
com.google.gson.TypeAdapter<Subscription.CurrentPlanEnum>
sh.ory.model.Subscription.CurrentPlanEnum.Adapter
- Enclosing class:
- Subscription.CurrentPlanEnum
public static class Subscription.CurrentPlanEnum.Adapter extends com.google.gson.TypeAdapter<Subscription.CurrentPlanEnum>
-
Constructor Summary
Constructors Constructor Description Adapter() -
Method Summary
Modifier and Type Method Description Subscription.CurrentPlanEnumread(com.google.gson.stream.JsonReader jsonReader)voidwrite(com.google.gson.stream.JsonWriter jsonWriter, Subscription.CurrentPlanEnum 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, Subscription.CurrentPlanEnum enumeration) throws IOException- Specified by:
writein classcom.google.gson.TypeAdapter<Subscription.CurrentPlanEnum>- Throws:
IOException
-
read
public Subscription.CurrentPlanEnum read(com.google.gson.stream.JsonReader jsonReader) throws IOException- Specified by:
readin classcom.google.gson.TypeAdapter<Subscription.CurrentPlanEnum>- Throws:
IOException
-