@Singleton public static class NovaParserModule.ImageAdapter extends Object implements com.google.gson.JsonDeserializer<Image>
| Modifier and Type | Field and Description |
|---|---|
static String |
BLOCK_DEVICE_MAPPING |
static String |
METADATA |
| Constructor and Description |
|---|
ImageAdapter() |
| Modifier and Type | Method and Description |
|---|---|
Image |
apply(org.jclouds.openstack.nova.v2_0.config.NovaParserModule.ImageAdapter.ImageInternal in,
Map<String,String> metadata,
List<BlockDeviceMapping> blockDeviceMapping) |
Image |
deserialize(com.google.gson.JsonElement jsonElement,
Type type,
com.google.gson.JsonDeserializationContext context) |
public static final String METADATA
public static final String BLOCK_DEVICE_MAPPING
public Image deserialize(com.google.gson.JsonElement jsonElement, Type type, com.google.gson.JsonDeserializationContext context) throws com.google.gson.JsonParseException
deserialize in interface com.google.gson.JsonDeserializer<Image>com.google.gson.JsonParseExceptionCopyright © 2009–2021 The Apache Software Foundation. All rights reserved.