code: public void marshall(InventoryResultItem inventoryResultItem, ProtocolMarshaller protocolMarshaller) {
  
          if (inventoryResultItem == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(inventoryResultItem.getTypeName(), TYPENAME_BINDING);
              protocolMarshaller.marshall(inventoryResultItem.getSchemaVersion(), SCHEMAVERSION_BINDING);
              protocolMarshaller.marshall(inventoryResultItem.getCaptureTime(), CAPTURETIME_BINDING);
              protocolMarshaller.marshall(inventoryResultItem.getContentHash(), CONTENTHASH_BINDING);
              protocolMarshaller.marshall(inventoryResultItem.getContent(), CONTENT_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.