@Introspected public final class GenericResource extends AbstractResource<GenericResource>
Resource with indeterminate structure. This is used as the deserialization target of
 Resource.getEmbedded(), because we can't determine the type of the resource for deserialization, there.| Constructor and Description | 
|---|
| GenericResource()Create a new resource. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addProperty(String key,
           Object v)Add a property to this resource (internal, for deserialization use only). | 
| boolean | equals(Object o) | 
| Map<String,Object> | getAdditionalProperties()Get the properties of this resource, as an untyped map. | 
| int | hashCode() | 
| String | toString() | 
embedded, embedded, embedded, getEmbedded, getLinks, link, link, setEmbedded, setLinksclone, finalize, getClass, notify, notifyAll, wait, wait, waitdeserialize@Internal public GenericResource()
Resource, please create a custom implementation of AbstractResource.@Internal public void addProperty(String key, Object v)
key - Property keyv - Property valuepublic Map<String,Object> getAdditionalProperties()