Class UnitOfWeight.Adapter
- java.lang.Object
-
- com.google.gson.TypeAdapter<UnitOfWeight>
-
- software.amazon.spapi.models.merchantfulfillment.v0.UnitOfWeight.Adapter
-
- Enclosing class:
- UnitOfWeight
public static class UnitOfWeight.Adapter extends com.google.gson.TypeAdapter<UnitOfWeight>
-
-
Constructor Summary
Constructors Constructor Description Adapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UnitOfWeight
read(com.google.gson.stream.JsonReader jsonReader)
void
write(com.google.gson.stream.JsonWriter jsonWriter, UnitOfWeight enumeration)
-
-
-
Method Detail
-
write
public void write(com.google.gson.stream.JsonWriter jsonWriter, UnitOfWeight enumeration) throws java.io.IOException
- Specified by:
write
in classcom.google.gson.TypeAdapter<UnitOfWeight>
- Throws:
java.io.IOException
-
read
public UnitOfWeight read(com.google.gson.stream.JsonReader jsonReader) throws java.io.IOException
- Specified by:
read
in classcom.google.gson.TypeAdapter<UnitOfWeight>
- Throws:
java.io.IOException
-
-