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