public void marshall(GetDocumentPathRequest getDocumentPathRequest, ProtocolMarshaller protocolMarshaller) {

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

        try {
            protocolMarshaller.marshall(getDocumentPathRequest.getAuthenticationToken(), AUTHENTICATIONTOKEN_BINDING);
            protocolMarshaller.marshall(getDocumentPathRequest.getDocumentId(), DOCUMENTID_BINDING);
            protocolMarshaller.marshall(getDocumentPathRequest.getLimit(), LIMIT_BINDING);
            protocolMarshaller.marshall(getDocumentPathRequest.getFields(), FIELDS_BINDING);
            protocolMarshaller.marshall(getDocumentPathRequest.getMarker(), MARKER_BINDING);
        } catch (Exception e) {
            throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
        }
    }
public void marshall ( GetDocumentPathRequest getDocumentPathRequest , ProtocolMarshaller protocolMarshaller ) { if ( getDocumentPathRequest == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( getDocumentPathRequest . getAuthenticationToken ( ) , AUTHENTICATIONTOKEN_BINDING ) ; protocolMarshaller . marshall ( getDocumentPathRequest . getDocumentId ( ) , DOCUMENTID_BINDING ) ; protocolMarshaller . marshall ( getDocumentPathRequest . getLimit ( ) , LIMIT_BINDING ) ; protocolMarshaller . marshall ( getDocumentPathRequest . getFields ( ) , FIELDS_BINDING ) ; protocolMarshaller . marshall ( getDocumentPathRequest . getMarker ( ) , MARKER_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request to JSON: " + e . getMessage ( ) , e ) ; } }
Marshall the given parameter object.