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