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