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