public void marshall(UpdateModelRequest updateModelRequest, ProtocolMarshaller protocolMarshaller) {

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

        try {
            protocolMarshaller.marshall(updateModelRequest.getApiId(), APIID_BINDING);
            protocolMarshaller.marshall(updateModelRequest.getContentType(), CONTENTTYPE_BINDING);
            protocolMarshaller.marshall(updateModelRequest.getDescription(), DESCRIPTION_BINDING);
            protocolMarshaller.marshall(updateModelRequest.getModelId(), MODELID_BINDING);
            protocolMarshaller.marshall(updateModelRequest.getName(), NAME_BINDING);
            protocolMarshaller.marshall(updateModelRequest.getSchema(), SCHEMA_BINDING);
        } catch (Exception e) {
            throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
        }
    }
public void marshall ( UpdateModelRequest updateModelRequest , ProtocolMarshaller protocolMarshaller ) { if ( updateModelRequest == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( updateModelRequest . getApiId ( ) , APIID_BINDING ) ; protocolMarshaller . marshall ( updateModelRequest . getContentType ( ) , CONTENTTYPE_BINDING ) ; protocolMarshaller . marshall ( updateModelRequest . getDescription ( ) , DESCRIPTION_BINDING ) ; protocolMarshaller . marshall ( updateModelRequest . getModelId ( ) , MODELID_BINDING ) ; protocolMarshaller . marshall ( updateModelRequest . getName ( ) , NAME_BINDING ) ; protocolMarshaller . marshall ( updateModelRequest . getSchema ( ) , SCHEMA_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request to JSON: " + e . getMessage ( ) , e ) ; } }
Marshall the given parameter object.