package org.openstack.api.compute;

import java.util.Map;

import javax.ws.rs.client.Target;
import javax.ws.rs.core.MediaType;

import org.openstack.api.common.Resource;
import org.openstack.model.common.Extension;

public class ExtensionResource extends Resource {
	
    public ExtensionResource(Target target) {
		super(target);
	}

    public Extension get(Map<String, Object> properties) {
		return target.request(MediaType.APPLICATION_JSON).get(Extension.class);
	}
}
