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 Details

    • SnapshotAdapter

      public SnapshotAdapter()
  • Method Details

    • 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 interface com.google.gson.JsonDeserializer<Snapshot>
      Throws:
      com.google.gson.JsonParseException
    • apply

      public Snapshot apply(Snapshot in)