Package app.kntrl.client.openapi.model
Class ServerErrCode.Adapter
- java.lang.Object
-
- com.google.gson.TypeAdapter<ServerErrCode>
-
- app.kntrl.client.openapi.model.ServerErrCode.Adapter
-
- Enclosing class:
- ServerErrCode
public static class ServerErrCode.Adapter extends com.google.gson.TypeAdapter<ServerErrCode>
-
-
Constructor Summary
Constructors Constructor Description Adapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ServerErrCoderead(com.google.gson.stream.JsonReader jsonReader)voidwrite(com.google.gson.stream.JsonWriter jsonWriter, ServerErrCode enumeration)
-
-
-
Method Detail
-
write
public void write(com.google.gson.stream.JsonWriter jsonWriter, ServerErrCode enumeration) throws java.io.IOException- Specified by:
writein classcom.google.gson.TypeAdapter<ServerErrCode>- Throws:
java.io.IOException
-
read
public ServerErrCode read(com.google.gson.stream.JsonReader jsonReader) throws java.io.IOException
- Specified by:
readin classcom.google.gson.TypeAdapter<ServerErrCode>- Throws:
java.io.IOException
-
-