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