public void marshall(UpdateProductRequest updateProductRequest, ProtocolMarshaller protocolMarshaller) {

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

        try {
            protocolMarshaller.marshall(updateProductRequest.getAcceptLanguage(), ACCEPTLANGUAGE_BINDING);
            protocolMarshaller.marshall(updateProductRequest.getId(), ID_BINDING);
            protocolMarshaller.marshall(updateProductRequest.getName(), NAME_BINDING);
            protocolMarshaller.marshall(updateProductRequest.getOwner(), OWNER_BINDING);
            protocolMarshaller.marshall(updateProductRequest.getDescription(), DESCRIPTION_BINDING);
            protocolMarshaller.marshall(updateProductRequest.getDistributor(), DISTRIBUTOR_BINDING);
            protocolMarshaller.marshall(updateProductRequest.getSupportDescription(), SUPPORTDESCRIPTION_BINDING);
            protocolMarshaller.marshall(updateProductRequest.getSupportEmail(), SUPPORTEMAIL_BINDING);
            protocolMarshaller.marshall(updateProductRequest.getSupportUrl(), SUPPORTURL_BINDING);
            protocolMarshaller.marshall(updateProductRequest.getAddTags(), ADDTAGS_BINDING);
            protocolMarshaller.marshall(updateProductRequest.getRemoveTags(), REMOVETAGS_BINDING);
        } catch (Exception e) {
            throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
        }
    }
public void marshall ( UpdateProductRequest updateProductRequest , ProtocolMarshaller protocolMarshaller ) { if ( updateProductRequest == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( updateProductRequest . getAcceptLanguage ( ) , ACCEPTLANGUAGE_BINDING ) ; protocolMarshaller . marshall ( updateProductRequest . getId ( ) , ID_BINDING ) ; protocolMarshaller . marshall ( updateProductRequest . getName ( ) , NAME_BINDING ) ; protocolMarshaller . marshall ( updateProductRequest . getOwner ( ) , OWNER_BINDING ) ; protocolMarshaller . marshall ( updateProductRequest . getDescription ( ) , DESCRIPTION_BINDING ) ; protocolMarshaller . marshall ( updateProductRequest . getDistributor ( ) , DISTRIBUTOR_BINDING ) ; protocolMarshaller . marshall ( updateProductRequest . getSupportDescription ( ) , SUPPORTDESCRIPTION_BINDING ) ; protocolMarshaller . marshall ( updateProductRequest . getSupportEmail ( ) , SUPPORTEMAIL_BINDING ) ; protocolMarshaller . marshall ( updateProductRequest . getSupportUrl ( ) , SUPPORTURL_BINDING ) ; protocolMarshaller . marshall ( updateProductRequest . getAddTags ( ) , ADDTAGS_BINDING ) ; protocolMarshaller . marshall ( updateProductRequest . getRemoveTags ( ) , REMOVETAGS_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request to JSON: " + e . getMessage ( ) , e ) ; } }
Marshall the given parameter object.