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