private PNFileUploadRequest ExtractFileUploadRequest(Dictionary <string, object> dictionary)
        {
            PNFileUploadRequest pnFileUploadRequest = new PNFileUploadRequest();
            object objData;

            dictionary.TryGetValue("file_upload_request", out objData);
            if (objData != null)
            {
                Dictionary <string, object> objDataDict = objData as Dictionary <string, object>;
                pnFileUploadRequest.URL        = Utility.ReadMessageFromResponseDictionary(objDataDict, "url");
                pnFileUploadRequest.Method     = Utility.ReadMessageFromResponseDictionary(objDataDict, "method");
                pnFileUploadRequest.FormFields = ExtractPNFormFields(objDataDict);
            }
            return(pnFileUploadRequest);
        }
 public SendFileToS3RequestBuilder FileUploadRequestData(PNFileUploadRequest data)
 {
     SendFileToS3FileUploadRequestData = data;
     return(this);
 }