Class LoanAccountLock.LockOwnerEnum.Adapter
java.lang.Object
com.google.gson.TypeAdapter<LoanAccountLock.LockOwnerEnum>
org.apache.fineract.client.models.LoanAccountLock.LockOwnerEnum.Adapter
- Enclosing class:
LoanAccountLock.LockOwnerEnum
public static class LoanAccountLock.LockOwnerEnum.Adapter
extends com.google.gson.TypeAdapter<LoanAccountLock.LockOwnerEnum>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionread(com.google.gson.stream.JsonReader jsonReader) voidwrite(com.google.gson.stream.JsonWriter jsonWriter, LoanAccountLock.LockOwnerEnum 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, LoanAccountLock.LockOwnerEnum enumeration) throws IOException - Specified by:
writein classcom.google.gson.TypeAdapter<LoanAccountLock.LockOwnerEnum>- Throws:
IOException
-
read
public LoanAccountLock.LockOwnerEnum read(com.google.gson.stream.JsonReader jsonReader) throws IOException - Specified by:
readin classcom.google.gson.TypeAdapter<LoanAccountLock.LockOwnerEnum>- Throws:
IOException
-