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