Class APIProductDTO.StateEnum.Adapter
- java.lang.Object
-
- com.google.gson.TypeAdapter<APIProductDTO.StateEnum>
-
- org.wso2.am.integration.clients.publisher.api.v1.dto.APIProductDTO.StateEnum.Adapter
-
- Enclosing class:
- APIProductDTO.StateEnum
public static class APIProductDTO.StateEnum.Adapter extends com.google.gson.TypeAdapter<APIProductDTO.StateEnum>
-
-
Constructor Summary
Constructors Constructor Description Adapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description APIProductDTO.StateEnumread(com.google.gson.stream.JsonReader jsonReader)voidwrite(com.google.gson.stream.JsonWriter jsonWriter, APIProductDTO.StateEnum enumeration)
-
-
-
Method Detail
-
write
public void write(com.google.gson.stream.JsonWriter jsonWriter, APIProductDTO.StateEnum enumeration) throws IOException- Specified by:
writein classcom.google.gson.TypeAdapter<APIProductDTO.StateEnum>- Throws:
IOException
-
read
public APIProductDTO.StateEnum read(com.google.gson.stream.JsonReader jsonReader) throws IOException
- Specified by:
readin classcom.google.gson.TypeAdapter<APIProductDTO.StateEnum>- Throws:
IOException
-
-