public void marshall(DocumentVersionMetadata documentVersionMetadata, ProtocolMarshaller protocolMarshaller) {

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

        try {
            protocolMarshaller.marshall(documentVersionMetadata.getId(), ID_BINDING);
            protocolMarshaller.marshall(documentVersionMetadata.getName(), NAME_BINDING);
            protocolMarshaller.marshall(documentVersionMetadata.getContentType(), CONTENTTYPE_BINDING);
            protocolMarshaller.marshall(documentVersionMetadata.getSize(), SIZE_BINDING);
            protocolMarshaller.marshall(documentVersionMetadata.getSignature(), SIGNATURE_BINDING);
            protocolMarshaller.marshall(documentVersionMetadata.getStatus(), STATUS_BINDING);
            protocolMarshaller.marshall(documentVersionMetadata.getCreatedTimestamp(), CREATEDTIMESTAMP_BINDING);
            protocolMarshaller.marshall(documentVersionMetadata.getModifiedTimestamp(), MODIFIEDTIMESTAMP_BINDING);
            protocolMarshaller.marshall(documentVersionMetadata.getContentCreatedTimestamp(), CONTENTCREATEDTIMESTAMP_BINDING);
            protocolMarshaller.marshall(documentVersionMetadata.getContentModifiedTimestamp(), CONTENTMODIFIEDTIMESTAMP_BINDING);
            protocolMarshaller.marshall(documentVersionMetadata.getCreatorId(), CREATORID_BINDING);
            protocolMarshaller.marshall(documentVersionMetadata.getThumbnail(), THUMBNAIL_BINDING);
            protocolMarshaller.marshall(documentVersionMetadata.getSource(), SOURCE_BINDING);
        } catch (Exception e) {
            throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
        }
    }
public void marshall ( DocumentVersionMetadata documentVersionMetadata , ProtocolMarshaller protocolMarshaller ) { if ( documentVersionMetadata == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( documentVersionMetadata . getId ( ) , ID_BINDING ) ; protocolMarshaller . marshall ( documentVersionMetadata . getName ( ) , NAME_BINDING ) ; protocolMarshaller . marshall ( documentVersionMetadata . getContentType ( ) , CONTENTTYPE_BINDING ) ; protocolMarshaller . marshall ( documentVersionMetadata . getSize ( ) , SIZE_BINDING ) ; protocolMarshaller . marshall ( documentVersionMetadata . getSignature ( ) , SIGNATURE_BINDING ) ; protocolMarshaller . marshall ( documentVersionMetadata . getStatus ( ) , STATUS_BINDING ) ; protocolMarshaller . marshall ( documentVersionMetadata . getCreatedTimestamp ( ) , CREATEDTIMESTAMP_BINDING ) ; protocolMarshaller . marshall ( documentVersionMetadata . getModifiedTimestamp ( ) , MODIFIEDTIMESTAMP_BINDING ) ; protocolMarshaller . marshall ( documentVersionMetadata . getContentCreatedTimestamp ( ) , CONTENTCREATEDTIMESTAMP_BINDING ) ; protocolMarshaller . marshall ( documentVersionMetadata . getContentModifiedTimestamp ( ) , CONTENTMODIFIEDTIMESTAMP_BINDING ) ; protocolMarshaller . marshall ( documentVersionMetadata . getCreatorId ( ) , CREATORID_BINDING ) ; protocolMarshaller . marshall ( documentVersionMetadata . getThumbnail ( ) , THUMBNAIL_BINDING ) ; protocolMarshaller . marshall ( documentVersionMetadata . getSource ( ) , SOURCE_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request to JSON: " + e . getMessage ( ) , e ) ; } }
Marshall the given parameter object.