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