Package io.voucherify.client.model
Class LocationsGetResponseBodyShape.FormatEnum.Adapter
java.lang.Object
com.google.gson.TypeAdapter<LocationsGetResponseBodyShape.FormatEnum>
io.voucherify.client.model.LocationsGetResponseBodyShape.FormatEnum.Adapter
- Enclosing class:
- LocationsGetResponseBodyShape.FormatEnum
public static class LocationsGetResponseBodyShape.FormatEnum.Adapter
extends com.google.gson.TypeAdapter<LocationsGetResponseBodyShape.FormatEnum>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionread(com.google.gson.stream.JsonReader jsonReader) voidwrite(com.google.gson.stream.JsonWriter jsonWriter, LocationsGetResponseBodyShape.FormatEnum 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, LocationsGetResponseBodyShape.FormatEnum enumeration) throws IOException - Specified by:
writein classcom.google.gson.TypeAdapter<LocationsGetResponseBodyShape.FormatEnum>- Throws:
IOException
-
read
public LocationsGetResponseBodyShape.FormatEnum read(com.google.gson.stream.JsonReader jsonReader) throws IOException - Specified by:
readin classcom.google.gson.TypeAdapter<LocationsGetResponseBodyShape.FormatEnum>- Throws:
IOException
-