code: @Override
      public GetHeadendsResult convert(Map<String, Headend> value) {
          GetHeadendsResult r = new GetHeadendsResult();
          r.setHeadends(value);
          return r;
      }
docs: Main conversion method.
  
  @param value