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