docs: protected void updateApiVersion(KubernetesResourceList list) {
      String version = getApiVersion();
      if (list != null && version != null && version.length() > 0) {
        List items = list.getItems();
        if (items != null) {
          for (Object item : items) {
            if (item instanceof HasMetadata) {
              updateApiVersion((HasMetadata) item);
            }
          }
        }
      }
    }