Package ai.shipeasy.admin.model
Class OpsAlertContext.SourceEnum.Adapter
java.lang.Object
com.google.gson.TypeAdapter<OpsAlertContext.SourceEnum>
ai.shipeasy.admin.model.OpsAlertContext.SourceEnum.Adapter
- Enclosing class:
- OpsAlertContext.SourceEnum
public static class OpsAlertContext.SourceEnum.Adapter
extends com.google.gson.TypeAdapter<OpsAlertContext.SourceEnum>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionread(com.google.gson.stream.JsonReader jsonReader) voidwrite(com.google.gson.stream.JsonWriter jsonWriter, OpsAlertContext.SourceEnum 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, OpsAlertContext.SourceEnum enumeration) throws IOException - Specified by:
writein classcom.google.gson.TypeAdapter<OpsAlertContext.SourceEnum>- Throws:
IOException
-
read
public OpsAlertContext.SourceEnum read(com.google.gson.stream.JsonReader jsonReader) throws IOException - Specified by:
readin classcom.google.gson.TypeAdapter<OpsAlertContext.SourceEnum>- Throws:
IOException
-