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