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