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