code: public void marshall(GetDifferencesRequest getDifferencesRequest, ProtocolMarshaller protocolMarshaller) {
  
          if (getDifferencesRequest == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(getDifferencesRequest.getRepositoryName(), REPOSITORYNAME_BINDING);
              protocolMarshaller.marshall(getDifferencesRequest.getBeforeCommitSpecifier(), BEFORECOMMITSPECIFIER_BINDING);
              protocolMarshaller.marshall(getDifferencesRequest.getAfterCommitSpecifier(), AFTERCOMMITSPECIFIER_BINDING);
              protocolMarshaller.marshall(getDifferencesRequest.getBeforePath(), BEFOREPATH_BINDING);
              protocolMarshaller.marshall(getDifferencesRequest.getAfterPath(), AFTERPATH_BINDING);
              protocolMarshaller.marshall(getDifferencesRequest.getMaxResults(), MAXRESULTS_BINDING);
              protocolMarshaller.marshall(getDifferencesRequest.getNextToken(), NEXTTOKEN_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.