All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.labkey.remoteapi.assay.ProtocolResponse Maven / Gradle / Ivy

package org.labkey.remoteapi.assay;

import org.json.simple.JSONObject;
import org.labkey.remoteapi.CommandResponse;

public class ProtocolResponse extends CommandResponse
{
    private Protocol _protocol;

    public ProtocolResponse(String text, int statusCode, String contentType, JSONObject json, GetProtocolCommand sourceCommand)
    {
        super(text, statusCode, contentType, json, sourceCommand);
        _protocol = new Protocol((JSONObject) json.get("data"));
    }

    public Protocol getProtocol()
    {
        return _protocol;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy