def screenshot_update(project_id, id, params)
      path = sprintf("/api/v2/projects/%s/screenshots/%s", project_id, id)
      data_hash = {}
      post_body = nil
  
      if params.present?
        unless params.kind_of?(PhraseApp::RequestParams::ScreenshotParams)
          raise PhraseApp::ParamsHelpers::ParamsError.new("Expects params to be kind_of PhraseApp::RequestParams::ScreenshotParams")
        end
      end
      if params.description != nil
        data_hash["description"] = params.description
      end

      if params.filename != nil
        post_body = []
        post_body << "--#{PhraseApp::MULTIPART_BOUNDARY}\r\n"
        post_body << "Content-Disposition: form-data; name=\"filename\"; filename=\"#{File.basename(params.filename )}\"\r\n"
        post_body << "Content-Type: text/plain\r\n"
        post_body << "\r\n"
        post_body << File.read(params.filename)
        post_body << "\r\n"
      end

      if params.name != nil
        data_hash["name"] = params.name
      end

  
  
      reqHelper = PhraseApp::ParamsHelpers::BodyTypeHelper.new(data_hash, post_body)
      rc, err = PhraseApp.send_request(@credentials, "PATCH", path, reqHelper.ctype, reqHelper.body, 200)
      if err != nil
        return nil, err
      end
      
      return PhraseApp::ResponseObjects::Screenshot.new(JSON.load(rc.body)), err
    end
def screenshot_update(project_id, id, params)
      path = sprintf("/api/v2/projects/%s/screenshots/%s", project_id, id)
      data_hash = {}
      post_body = nil
  
      if params.present?
        unless params.kind_of?(PhraseApp::RequestParams::ScreenshotParams)
          raise PhraseApp::ParamsHelpers::ParamsError.new("Expects params to be kind_of PhraseApp::RequestParams::ScreenshotParams")
        end
      end
      if params.description != nil
        data_hash["description"] = params.description
      end

      if params.filename != nil
        post_body = []
        post_body << "--#{PhraseApp::MULTIPART_BOUNDARY}\r\n"
        post_body << "Content-Disposition: form-data; name=\"filename\"; filename=\"#{File.basename(params.filename )}\"\r\n"
        post_body << "Content-Type: text/plain\r\n"
        post_body << "\r\n"
        post_body << File.read(params.filename)
        post_body << "\r\n"
      end

      if params.name != nil
        data_hash["name"] = params.name
      end

  
  
      reqHelper = PhraseApp::ParamsHelpers::BodyTypeHelper.new(data_hash, post_body)
      rc, err = PhraseApp.send_request(@credentials, "PATCH", path, reqHelper.ctype, reqHelper.body, 200)
      if err != nil
        return nil, err
      end
      
      return PhraseApp::ResponseObjects::Screenshot.new(JSON.load(rc.body)), err
    end
Update an existing screenshot.
 API Path: /api/v2/projects/:project_id/screenshots/:id
 == Parameters:
 project_id::
   project_id
 id::
   id
 params::
   Parameters of type PhraseApp::RequestParams::ScreenshotParams

 == Returns:
   PhraseApp::ResponseObjects::Screenshot
   err