Class MediationInfoDTO.TypeEnum.Adapter
java.lang.Object
com.google.gson.TypeAdapter<MediationInfoDTO.TypeEnum>
org.wso2.am.integration.clients.admin.api.dto.MediationInfoDTO.TypeEnum.Adapter
- Enclosing class:
MediationInfoDTO.TypeEnum
public static class MediationInfoDTO.TypeEnum.Adapter
extends com.google.gson.TypeAdapter<MediationInfoDTO.TypeEnum>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionread(com.google.gson.stream.JsonReader jsonReader) voidwrite(com.google.gson.stream.JsonWriter jsonWriter, MediationInfoDTO.TypeEnum enumeration) Methods inherited from class com.google.gson.TypeAdapter
fromJson, fromJson, fromJsonTree, nullSafe, toJson, toJson, toJsonTree
-
Constructor Details
-
Adapter
public Adapter()
-
-
Method Details
-
write
public void write(com.google.gson.stream.JsonWriter jsonWriter, MediationInfoDTO.TypeEnum enumeration) throws IOException - Specified by:
writein classcom.google.gson.TypeAdapter<MediationInfoDTO.TypeEnum>- Throws:
IOException
-
read
public MediationInfoDTO.TypeEnum read(com.google.gson.stream.JsonReader jsonReader) throws IOException - Specified by:
readin classcom.google.gson.TypeAdapter<MediationInfoDTO.TypeEnum>- Throws:
IOException
-