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