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