class OpenVirtualNetworkingExtensionAdapter implements ExtensionAdapter<OpenVirtualNetworkingClient> {

  @Override
  public Class<OpenVirtualNetworkingClient> getExtensionType() {
    return OpenVirtualNetworkingClient.class;
  }

  @Override
  public OpenVirtualNetworkingClient adapt(Client client) {<FILL_FUNCTION_BODY>}

  @Override
  public void registerClients(ClientFactory factory) {
    factory.register(V1OpenVirtualNetworkingAPIGroupDSL.class, new V1OpenVirtualNetworkingAPIGroupClient());
  }
}

    if (client.hasApiGroup("k8s.ovn.org", false)) {
      return new DefaultOpenVirtualNetworkingClient(client);
    }
    return null;
  
<no_super_class>