code: @Override
      public Retina retinaByName(String name) throws ApiException {
          List<Retina> retinas = api.getRetinas(name);
          if (retinas == null || retinas.size() == 0) {
              return null;
          }
          return retinas.get(0);
      }
docs: {@inheritDoc}