Package com.onfido.model
Class IdNumber.TypeEnum.Adapter
- java.lang.Object
-
- com.google.gson.TypeAdapter<IdNumber.TypeEnum>
-
- com.onfido.model.IdNumber.TypeEnum.Adapter
-
- Enclosing class:
- IdNumber.TypeEnum
public static class IdNumber.TypeEnum.Adapter extends com.google.gson.TypeAdapter<IdNumber.TypeEnum>
-
-
Constructor Summary
Constructors Constructor Description Adapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IdNumber.TypeEnumread(com.google.gson.stream.JsonReader jsonReader)voidwrite(com.google.gson.stream.JsonWriter jsonWriter, IdNumber.TypeEnum enumeration)
-
-
-
Method Detail
-
write
public void write(com.google.gson.stream.JsonWriter jsonWriter, IdNumber.TypeEnum enumeration) throws IOException- Specified by:
writein classcom.google.gson.TypeAdapter<IdNumber.TypeEnum>- Throws:
IOException
-
read
public IdNumber.TypeEnum read(com.google.gson.stream.JsonReader jsonReader) throws IOException
- Specified by:
readin classcom.google.gson.TypeAdapter<IdNumber.TypeEnum>- Throws:
IOException
-
-