Class NovaParserModule.ServerWithSecurityGroupsAdapter
java.lang.Object
org.jclouds.openstack.nova.v2_0.config.NovaParserModule.ServerWithSecurityGroupsAdapter
- All Implemented Interfaces:
com.google.gson.JsonDeserializer<ServerWithSecurityGroups>
- Enclosing class:
NovaParserModule
@Singleton
public static class NovaParserModule.ServerWithSecurityGroupsAdapter
extends Object
implements com.google.gson.JsonDeserializer<ServerWithSecurityGroups>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondeserialize
(com.google.gson.JsonElement jsonElement, Type type, com.google.gson.JsonDeserializationContext context)
-
Constructor Details
-
ServerWithSecurityGroupsAdapter
public ServerWithSecurityGroupsAdapter()
-
-
Method Details
-
deserialize
public ServerWithSecurityGroups deserialize(com.google.gson.JsonElement jsonElement, Type type, com.google.gson.JsonDeserializationContext context) throws com.google.gson.JsonParseException - Specified by:
deserialize
in interfacecom.google.gson.JsonDeserializer<ServerWithSecurityGroups>
- Throws:
com.google.gson.JsonParseException
-