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