code: public void marshall(PostCommentForPullRequestRequest postCommentForPullRequestRequest, ProtocolMarshaller protocolMarshaller) {
  
          if (postCommentForPullRequestRequest == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(postCommentForPullRequestRequest.getPullRequestId(), PULLREQUESTID_BINDING);
              protocolMarshaller.marshall(postCommentForPullRequestRequest.getRepositoryName(), REPOSITORYNAME_BINDING);
              protocolMarshaller.marshall(postCommentForPullRequestRequest.getBeforeCommitId(), BEFORECOMMITID_BINDING);
              protocolMarshaller.marshall(postCommentForPullRequestRequest.getAfterCommitId(), AFTERCOMMITID_BINDING);
              protocolMarshaller.marshall(postCommentForPullRequestRequest.getLocation(), LOCATION_BINDING);
              protocolMarshaller.marshall(postCommentForPullRequestRequest.getContent(), CONTENT_BINDING);
              protocolMarshaller.marshall(postCommentForPullRequestRequest.getClientRequestToken(), CLIENTREQUESTTOKEN_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.