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