Class Identity.MaritalStatusEnum.Adapter
java.lang.Object
com.google.gson.TypeAdapter<Identity.MaritalStatusEnum>
markets.alpaca.client.openapi.broker.model.Identity.MaritalStatusEnum.Adapter
- Enclosing class:
- Identity.MaritalStatusEnum
public static class Identity.MaritalStatusEnum.Adapter
extends com.google.gson.TypeAdapter<Identity.MaritalStatusEnum>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionread(com.google.gson.stream.JsonReader jsonReader) voidwrite(com.google.gson.stream.JsonWriter jsonWriter, Identity.MaritalStatusEnum 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, Identity.MaritalStatusEnum enumeration) throws IOException - Specified by:
writein classcom.google.gson.TypeAdapter<Identity.MaritalStatusEnum>- Throws:
IOException
-
read
public Identity.MaritalStatusEnum read(com.google.gson.stream.JsonReader jsonReader) throws IOException - Specified by:
readin classcom.google.gson.TypeAdapter<Identity.MaritalStatusEnum>- Throws:
IOException
-