Package com.influxdb.client.domain
Class ResourceMember.RoleEnum.Adapter
java.lang.Object
com.google.gson.TypeAdapter<ResourceMember.RoleEnum>
com.influxdb.client.domain.ResourceMember.RoleEnum.Adapter
- Enclosing class:
ResourceMember.RoleEnum
public static class ResourceMember.RoleEnum.Adapter
extends com.google.gson.TypeAdapter<ResourceMember.RoleEnum>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionread
(com.google.gson.stream.JsonReader jsonReader) void
write
(com.google.gson.stream.JsonWriter jsonWriter, ResourceMember.RoleEnum 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, ResourceMember.RoleEnum enumeration) throws IOException - Specified by:
write
in classcom.google.gson.TypeAdapter<ResourceMember.RoleEnum>
- Throws:
IOException
-
read
public ResourceMember.RoleEnum read(com.google.gson.stream.JsonReader jsonReader) throws IOException - Specified by:
read
in classcom.google.gson.TypeAdapter<ResourceMember.RoleEnum>
- Throws:
IOException
-