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