Class GrantConsumption.CauseEnum.Adapter
java.lang.Object
com.google.gson.TypeAdapter<GrantConsumption.CauseEnum>
co.ankatech.keymanagement.client.keymanagement.model.GrantConsumption.CauseEnum.Adapter
- Enclosing class:
- GrantConsumption.CauseEnum
public static class GrantConsumption.CauseEnum.Adapter
extends com.google.gson.TypeAdapter<GrantConsumption.CauseEnum>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionread(com.google.gson.stream.JsonReader jsonReader) voidwrite(com.google.gson.stream.JsonWriter jsonWriter, GrantConsumption.CauseEnum 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, GrantConsumption.CauseEnum enumeration) throws IOException - Specified by:
writein classcom.google.gson.TypeAdapter<GrantConsumption.CauseEnum>- Throws:
IOException
-
read
public GrantConsumption.CauseEnum read(com.google.gson.stream.JsonReader jsonReader) throws IOException - Specified by:
readin classcom.google.gson.TypeAdapter<GrantConsumption.CauseEnum>- Throws:
IOException
-