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