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