Class Metering.ChargeBasedOnEnum.Adapter
java.lang.Object
com.google.gson.TypeAdapter<Metering.ChargeBasedOnEnum>
com.vmware.vra.jenkinsplugin.model.catalog.Metering.ChargeBasedOnEnum.Adapter
- Enclosing class:
- Metering.ChargeBasedOnEnum
public static class Metering.ChargeBasedOnEnum.Adapter extends com.google.gson.TypeAdapter<Metering.ChargeBasedOnEnum>
-
Constructor Summary
Constructors Constructor Description Adapter()
-
Method Summary
Modifier and Type Method Description Metering.ChargeBasedOnEnum
read(com.google.gson.stream.JsonReader jsonReader)
void
write(com.google.gson.stream.JsonWriter jsonWriter, Metering.ChargeBasedOnEnum enumeration)
-
Constructor Details
-
Adapter
public Adapter()
-
-
Method Details
-
write
public void write(com.google.gson.stream.JsonWriter jsonWriter, Metering.ChargeBasedOnEnum enumeration) throws IOException- Specified by:
write
in classcom.google.gson.TypeAdapter<Metering.ChargeBasedOnEnum>
- Throws:
IOException
-
read
public Metering.ChargeBasedOnEnum read(com.google.gson.stream.JsonReader jsonReader) throws IOException- Specified by:
read
in classcom.google.gson.TypeAdapter<Metering.ChargeBasedOnEnum>
- Throws:
IOException
-