public void marshall(TaskExecutionResultDetail taskExecutionResultDetail, ProtocolMarshaller protocolMarshaller) {

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

        try {
            protocolMarshaller.marshall(taskExecutionResultDetail.getPrepareDuration(), PREPAREDURATION_BINDING);
            protocolMarshaller.marshall(taskExecutionResultDetail.getPrepareStatus(), PREPARESTATUS_BINDING);
            protocolMarshaller.marshall(taskExecutionResultDetail.getTransferDuration(), TRANSFERDURATION_BINDING);
            protocolMarshaller.marshall(taskExecutionResultDetail.getTransferStatus(), TRANSFERSTATUS_BINDING);
            protocolMarshaller.marshall(taskExecutionResultDetail.getVerifyDuration(), VERIFYDURATION_BINDING);
            protocolMarshaller.marshall(taskExecutionResultDetail.getVerifyStatus(), VERIFYSTATUS_BINDING);
            protocolMarshaller.marshall(taskExecutionResultDetail.getErrorCode(), ERRORCODE_BINDING);
            protocolMarshaller.marshall(taskExecutionResultDetail.getErrorDetail(), ERRORDETAIL_BINDING);
        } catch (Exception e) {
            throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
        }
    }
public void marshall ( TaskExecutionResultDetail taskExecutionResultDetail , ProtocolMarshaller protocolMarshaller ) { if ( taskExecutionResultDetail == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( taskExecutionResultDetail . getPrepareDuration ( ) , PREPAREDURATION_BINDING ) ; protocolMarshaller . marshall ( taskExecutionResultDetail . getPrepareStatus ( ) , PREPARESTATUS_BINDING ) ; protocolMarshaller . marshall ( taskExecutionResultDetail . getTransferDuration ( ) , TRANSFERDURATION_BINDING ) ; protocolMarshaller . marshall ( taskExecutionResultDetail . getTransferStatus ( ) , TRANSFERSTATUS_BINDING ) ; protocolMarshaller . marshall ( taskExecutionResultDetail . getVerifyDuration ( ) , VERIFYDURATION_BINDING ) ; protocolMarshaller . marshall ( taskExecutionResultDetail . getVerifyStatus ( ) , VERIFYSTATUS_BINDING ) ; protocolMarshaller . marshall ( taskExecutionResultDetail . getErrorCode ( ) , ERRORCODE_BINDING ) ; protocolMarshaller . marshall ( taskExecutionResultDetail . getErrorDetail ( ) , ERRORDETAIL_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request to JSON: " + e . getMessage ( ) , e ) ; } }
Marshall the given parameter object.