Class CinderParserModule.SnapshotAdapter
- java.lang.Object
-
- org.jclouds.openstack.cinder.v1.config.CinderParserModule.SnapshotAdapter
-
- All Implemented Interfaces:
com.google.gson.JsonDeserializer<Snapshot>
- Enclosing class:
- CinderParserModule
@Singleton public static class CinderParserModule.SnapshotAdapter extends Object implements com.google.gson.JsonDeserializer<Snapshot>
-
-
Constructor Summary
Constructors Constructor Description SnapshotAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Snapshot
apply(Snapshot in)
Snapshot
deserialize(com.google.gson.JsonElement jsonElement, Type type, com.google.gson.JsonDeserializationContext context)
-
-
-
Method Detail
-
deserialize
public Snapshot 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<Snapshot>
- Throws:
com.google.gson.JsonParseException
-
-