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