class ResponseAction extends Response {

    public static ResponseAction from(Sc2Api.Response sc2ApiResponse) {
        if (!hasActionResponse(sc2ApiResponse)) {
            throw new IllegalArgumentException("provided argument doesn't have action response");
        }
        return new ResponseAction(sc2ApiResponse.getAction(), sc2ApiResponse.getStatus(), sc2ApiResponse.getId());
    }

    private  ResponseAction(Sc2Api.ResponseAction sc2ApiResponseAction, Sc2Api.Status status, int id);

}