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