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