class ResponseSaveMap extends Response {

    public static ResponseSaveMap from(Sc2Api.Response sc2ApiResponse) {
        if (!hasSaveMapResponse(sc2ApiResponse)) {
            throw new IllegalArgumentException("provided argument doesn't have save map response");
        }
        return new ResponseSaveMap(sc2ApiResponse.getSaveMap(), sc2ApiResponse.getStatus(), sc2ApiResponse.getId());
    }

    private  ResponseSaveMap(Sc2Api.ResponseSaveMap sc2ApiResponseSaveMap, Sc2Api.Status sc2ApiStatus, int id);

}