public class ConnectivitySchemaParameterTypeAdapter extends com.google.gson.TypeAdapter<ConnectivitySchemaParameter>
TypeAdapter for instances of ConnectivitySchemaParameter.
Main purpose of this class is handling the ConnectivitySchemaParameter.getEnumValues() property which needs to be
renamed as enum at the json level.
| Constructor and Description |
|---|
ConnectivitySchemaParameterTypeAdapter() |
| Modifier and Type | Method and Description |
|---|---|
ConnectivitySchemaParameter |
read(com.google.gson.stream.JsonReader in) |
void |
write(com.google.gson.stream.JsonWriter out,
ConnectivitySchemaParameter value) |
public ConnectivitySchemaParameterTypeAdapter()
public void write(com.google.gson.stream.JsonWriter out,
ConnectivitySchemaParameter value)
throws IOException
write in class com.google.gson.TypeAdapter<ConnectivitySchemaParameter>IOExceptionpublic ConnectivitySchemaParameter read(com.google.gson.stream.JsonReader in) throws IOException
read in class com.google.gson.TypeAdapter<ConnectivitySchemaParameter>IOExceptionCopyright © 2022. All rights reserved.