org.openstack4j.core.transport.functions.ParseActionResponseFromJsonMap Maven / Gradle / Ivy
package org.openstack4j.core.transport.functions;
import java.util.Map;
import org.openstack4j.core.transport.HttpResponse;
import org.openstack4j.model.common.ActionResponse;
import com.google.common.base.Function;
/**
* Attempts to Parse a JSON Map created from an error response and map the message to an ActionResponse.
*
* @author Jeremy Unruh
*/
public class ParseActionResponseFromJsonMap implements Function