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