public void marshall(CommentsForComparedCommit commentsForComparedCommit, ProtocolMarshaller protocolMarshaller) {

        if (commentsForComparedCommit == null) {
            throw new SdkClientException("Invalid argument passed to marshall(...)");
        }

        try {
            protocolMarshaller.marshall(commentsForComparedCommit.getRepositoryName(), REPOSITORYNAME_BINDING);
            protocolMarshaller.marshall(commentsForComparedCommit.getBeforeCommitId(), BEFORECOMMITID_BINDING);
            protocolMarshaller.marshall(commentsForComparedCommit.getAfterCommitId(), AFTERCOMMITID_BINDING);
            protocolMarshaller.marshall(commentsForComparedCommit.getBeforeBlobId(), BEFOREBLOBID_BINDING);
            protocolMarshaller.marshall(commentsForComparedCommit.getAfterBlobId(), AFTERBLOBID_BINDING);
            protocolMarshaller.marshall(commentsForComparedCommit.getLocation(), LOCATION_BINDING);
            protocolMarshaller.marshall(commentsForComparedCommit.getComments(), COMMENTS_BINDING);
        } catch (Exception e) {
            throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
        }
    }
public void marshall ( CommentsForComparedCommit commentsForComparedCommit , ProtocolMarshaller protocolMarshaller ) { if ( commentsForComparedCommit == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( commentsForComparedCommit . getRepositoryName ( ) , REPOSITORYNAME_BINDING ) ; protocolMarshaller . marshall ( commentsForComparedCommit . getBeforeCommitId ( ) , BEFORECOMMITID_BINDING ) ; protocolMarshaller . marshall ( commentsForComparedCommit . getAfterCommitId ( ) , AFTERCOMMITID_BINDING ) ; protocolMarshaller . marshall ( commentsForComparedCommit . getBeforeBlobId ( ) , BEFOREBLOBID_BINDING ) ; protocolMarshaller . marshall ( commentsForComparedCommit . getAfterBlobId ( ) , AFTERBLOBID_BINDING ) ; protocolMarshaller . marshall ( commentsForComparedCommit . getLocation ( ) , LOCATION_BINDING ) ; protocolMarshaller . marshall ( commentsForComparedCommit . getComments ( ) , COMMENTS_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request to JSON: " + e . getMessage ( ) , e ) ; } }
Marshall the given parameter object.