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