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