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