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