public void marshall(JobOutput jobOutput, ProtocolMarshaller protocolMarshaller) {

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

        try {
            protocolMarshaller.marshall(jobOutput.getId(), ID_BINDING);
            protocolMarshaller.marshall(jobOutput.getKey(), KEY_BINDING);
            protocolMarshaller.marshall(jobOutput.getThumbnailPattern(), THUMBNAILPATTERN_BINDING);
            protocolMarshaller.marshall(jobOutput.getThumbnailEncryption(), THUMBNAILENCRYPTION_BINDING);
            protocolMarshaller.marshall(jobOutput.getRotate(), ROTATE_BINDING);
            protocolMarshaller.marshall(jobOutput.getPresetId(), PRESETID_BINDING);
            protocolMarshaller.marshall(jobOutput.getSegmentDuration(), SEGMENTDURATION_BINDING);
            protocolMarshaller.marshall(jobOutput.getStatus(), STATUS_BINDING);
            protocolMarshaller.marshall(jobOutput.getStatusDetail(), STATUSDETAIL_BINDING);
            protocolMarshaller.marshall(jobOutput.getDuration(), DURATION_BINDING);
            protocolMarshaller.marshall(jobOutput.getWidth(), WIDTH_BINDING);
            protocolMarshaller.marshall(jobOutput.getHeight(), HEIGHT_BINDING);
            protocolMarshaller.marshall(jobOutput.getFrameRate(), FRAMERATE_BINDING);
            protocolMarshaller.marshall(jobOutput.getFileSize(), FILESIZE_BINDING);
            protocolMarshaller.marshall(jobOutput.getDurationMillis(), DURATIONMILLIS_BINDING);
            protocolMarshaller.marshall(jobOutput.getWatermarks(), WATERMARKS_BINDING);
            protocolMarshaller.marshall(jobOutput.getAlbumArt(), ALBUMART_BINDING);
            protocolMarshaller.marshall(jobOutput.getComposition(), COMPOSITION_BINDING);
            protocolMarshaller.marshall(jobOutput.getCaptions(), CAPTIONS_BINDING);
            protocolMarshaller.marshall(jobOutput.getEncryption(), ENCRYPTION_BINDING);
            protocolMarshaller.marshall(jobOutput.getAppliedColorSpaceConversion(), APPLIEDCOLORSPACECONVERSION_BINDING);
        } catch (Exception e) {
            throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
        }
    }
public void marshall ( JobOutput jobOutput , ProtocolMarshaller protocolMarshaller ) { if ( jobOutput == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( jobOutput . getId ( ) , ID_BINDING ) ; protocolMarshaller . marshall ( jobOutput . getKey ( ) , KEY_BINDING ) ; protocolMarshaller . marshall ( jobOutput . getThumbnailPattern ( ) , THUMBNAILPATTERN_BINDING ) ; protocolMarshaller . marshall ( jobOutput . getThumbnailEncryption ( ) , THUMBNAILENCRYPTION_BINDING ) ; protocolMarshaller . marshall ( jobOutput . getRotate ( ) , ROTATE_BINDING ) ; protocolMarshaller . marshall ( jobOutput . getPresetId ( ) , PRESETID_BINDING ) ; protocolMarshaller . marshall ( jobOutput . getSegmentDuration ( ) , SEGMENTDURATION_BINDING ) ; protocolMarshaller . marshall ( jobOutput . getStatus ( ) , STATUS_BINDING ) ; protocolMarshaller . marshall ( jobOutput . getStatusDetail ( ) , STATUSDETAIL_BINDING ) ; protocolMarshaller . marshall ( jobOutput . getDuration ( ) , DURATION_BINDING ) ; protocolMarshaller . marshall ( jobOutput . getWidth ( ) , WIDTH_BINDING ) ; protocolMarshaller . marshall ( jobOutput . getHeight ( ) , HEIGHT_BINDING ) ; protocolMarshaller . marshall ( jobOutput . getFrameRate ( ) , FRAMERATE_BINDING ) ; protocolMarshaller . marshall ( jobOutput . getFileSize ( ) , FILESIZE_BINDING ) ; protocolMarshaller . marshall ( jobOutput . getDurationMillis ( ) , DURATIONMILLIS_BINDING ) ; protocolMarshaller . marshall ( jobOutput . getWatermarks ( ) , WATERMARKS_BINDING ) ; protocolMarshaller . marshall ( jobOutput . getAlbumArt ( ) , ALBUMART_BINDING ) ; protocolMarshaller . marshall ( jobOutput . getComposition ( ) , COMPOSITION_BINDING ) ; protocolMarshaller . marshall ( jobOutput . getCaptions ( ) , CAPTIONS_BINDING ) ; protocolMarshaller . marshall ( jobOutput . getEncryption ( ) , ENCRYPTION_BINDING ) ; protocolMarshaller . marshall ( jobOutput . getAppliedColorSpaceConversion ( ) , APPLIEDCOLORSPACECONVERSION_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request to JSON: " + e . getMessage ( ) , e ) ; } }
Marshall the given parameter object.