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