Class IPConditionDTO.IpConditionTypeEnum.Adapter
java.lang.Object
com.google.gson.TypeAdapter<IPConditionDTO.IpConditionTypeEnum>
org.wso2.am.integration.clients.admin.api.dto.IPConditionDTO.IpConditionTypeEnum.Adapter
- Enclosing class:
IPConditionDTO.IpConditionTypeEnum
public static class IPConditionDTO.IpConditionTypeEnum.Adapter
extends com.google.gson.TypeAdapter<IPConditionDTO.IpConditionTypeEnum>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionread(com.google.gson.stream.JsonReader jsonReader) voidwrite(com.google.gson.stream.JsonWriter jsonWriter, IPConditionDTO.IpConditionTypeEnum 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, IPConditionDTO.IpConditionTypeEnum enumeration) throws IOException - Specified by:
writein classcom.google.gson.TypeAdapter<IPConditionDTO.IpConditionTypeEnum>- Throws:
IOException
-
read
public IPConditionDTO.IpConditionTypeEnum read(com.google.gson.stream.JsonReader jsonReader) throws IOException - Specified by:
readin classcom.google.gson.TypeAdapter<IPConditionDTO.IpConditionTypeEnum>- Throws:
IOException
-