public void marshall(GetInventorySchemaRequest getInventorySchemaRequest, ProtocolMarshaller protocolMarshaller) {

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

        try {
            protocolMarshaller.marshall(getInventorySchemaRequest.getTypeName(), TYPENAME_BINDING);
            protocolMarshaller.marshall(getInventorySchemaRequest.getNextToken(), NEXTTOKEN_BINDING);
            protocolMarshaller.marshall(getInventorySchemaRequest.getMaxResults(), MAXRESULTS_BINDING);
            protocolMarshaller.marshall(getInventorySchemaRequest.getAggregator(), AGGREGATOR_BINDING);
            protocolMarshaller.marshall(getInventorySchemaRequest.getSubType(), SUBTYPE_BINDING);
        } catch (Exception e) {
            throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
        }
    }
public void marshall ( GetInventorySchemaRequest getInventorySchemaRequest , ProtocolMarshaller protocolMarshaller ) { if ( getInventorySchemaRequest == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( getInventorySchemaRequest . getTypeName ( ) , TYPENAME_BINDING ) ; protocolMarshaller . marshall ( getInventorySchemaRequest . getNextToken ( ) , NEXTTOKEN_BINDING ) ; protocolMarshaller . marshall ( getInventorySchemaRequest . getMaxResults ( ) , MAXRESULTS_BINDING ) ; protocolMarshaller . marshall ( getInventorySchemaRequest . getAggregator ( ) , AGGREGATOR_BINDING ) ; protocolMarshaller . marshall ( getInventorySchemaRequest . getSubType ( ) , SUBTYPE_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request to JSON: " + e . getMessage ( ) , e ) ; } }
Marshall the given parameter object.