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