public void marshall(UpdateDocumentVersionRequest updateDocumentVersionRequest, ProtocolMarshaller protocolMarshaller) {

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

        try {
            protocolMarshaller.marshall(updateDocumentVersionRequest.getAuthenticationToken(), AUTHENTICATIONTOKEN_BINDING);
            protocolMarshaller.marshall(updateDocumentVersionRequest.getDocumentId(), DOCUMENTID_BINDING);
            protocolMarshaller.marshall(updateDocumentVersionRequest.getVersionId(), VERSIONID_BINDING);
            protocolMarshaller.marshall(updateDocumentVersionRequest.getVersionStatus(), VERSIONSTATUS_BINDING);
        } catch (Exception e) {
            throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
        }
    }
public void marshall ( UpdateDocumentVersionRequest updateDocumentVersionRequest , ProtocolMarshaller protocolMarshaller ) { if ( updateDocumentVersionRequest == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( updateDocumentVersionRequest . getAuthenticationToken ( ) , AUTHENTICATIONTOKEN_BINDING ) ; protocolMarshaller . marshall ( updateDocumentVersionRequest . getDocumentId ( ) , DOCUMENTID_BINDING ) ; protocolMarshaller . marshall ( updateDocumentVersionRequest . getVersionId ( ) , VERSIONID_BINDING ) ; protocolMarshaller . marshall ( updateDocumentVersionRequest . getVersionStatus ( ) , VERSIONSTATUS_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request to JSON: " + e . getMessage ( ) , e ) ; } }
Marshall the given parameter object.