public void marshall(Update update, ProtocolMarshaller protocolMarshaller) {

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

        try {
            protocolMarshaller.marshall(update.getId(), ID_BINDING);
            protocolMarshaller.marshall(update.getStatus(), STATUS_BINDING);
            protocolMarshaller.marshall(update.getType(), TYPE_BINDING);
            protocolMarshaller.marshall(update.getParams(), PARAMS_BINDING);
            protocolMarshaller.marshall(update.getCreatedAt(), CREATEDAT_BINDING);
            protocolMarshaller.marshall(update.getErrors(), ERRORS_BINDING);
        } catch (Exception e) {
            throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
        }
    }
public void marshall ( Update update , ProtocolMarshaller protocolMarshaller ) { if ( update == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( update . getId ( ) , ID_BINDING ) ; protocolMarshaller . marshall ( update . getStatus ( ) , STATUS_BINDING ) ; protocolMarshaller . marshall ( update . getType ( ) , TYPE_BINDING ) ; protocolMarshaller . marshall ( update . getParams ( ) , PARAMS_BINDING ) ; protocolMarshaller . marshall ( update . getCreatedAt ( ) , CREATEDAT_BINDING ) ; protocolMarshaller . marshall ( update . getErrors ( ) , ERRORS_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request to JSON: " + e . getMessage ( ) , e ) ; } }
Marshall the given parameter object.