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