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