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