@Singleton public static class CloudStackParserModule.PortForwardingRuleAdapter extends Object implements com.google.gson.JsonSerializer<PortForwardingRule>, com.google.gson.JsonDeserializer<PortForwardingRule>
Constructor and Description |
---|
CloudStackParserModule.PortForwardingRuleAdapter() |
Modifier and Type | Method and Description |
---|---|
PortForwardingRule |
apply(org.jclouds.cloudstack.config.CloudStackParserModule.PortForwardingRuleAdapter.PortForwardingRuleInternal in) |
PortForwardingRule |
deserialize(com.google.gson.JsonElement json,
Type typeOfT,
com.google.gson.JsonDeserializationContext context) |
com.google.gson.JsonElement |
serialize(PortForwardingRule src,
Type typeOfSrc,
com.google.gson.JsonSerializationContext context) |
public CloudStackParserModule.PortForwardingRuleAdapter()
public com.google.gson.JsonElement serialize(PortForwardingRule src, Type typeOfSrc, com.google.gson.JsonSerializationContext context)
serialize
in interface com.google.gson.JsonSerializer<PortForwardingRule>
public PortForwardingRule deserialize(com.google.gson.JsonElement json, Type typeOfT, com.google.gson.JsonDeserializationContext context) throws com.google.gson.JsonParseException
deserialize
in interface com.google.gson.JsonDeserializer<PortForwardingRule>
com.google.gson.JsonParseException
public PortForwardingRule apply(org.jclouds.cloudstack.config.CloudStackParserModule.PortForwardingRuleAdapter.PortForwardingRuleInternal in)
Copyright © 2009-2012 jclouds. All Rights Reserved.