code: public static ResourceList<Endpoint> list(final String domainId, final int page, final int size) {
          final BandwidthClient client = BandwidthClient.getInstance();
          return list(client, domainId, page, size);
      }
docs: Factory method for Endpoint list
  @param domainId the domain id.
  @param page the starting page.
  @param size the page size.
  @return the Endpoint list.