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