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