Lists ExpressRoute gateways under a given subscription.

@return the PagedList<ExpressRouteGatewayInner> object if successful.
185190
public PagedList<ExpressRouteGatewayInner> list() {
        PageImpl1<ExpressRouteGatewayInner> page = new PageImpl1<>();
        page.setItems(listWithServiceResponseAsync().toBlocking().single().body());
        page.setNextPageLink(null);
        return new PagedList<ExpressRouteGatewayInner>(page) {
            @Override
            public Page<ExpressRouteGatewayInner> nextPage(String nextPageLink) {
                return null;
            }
        };
    }
400915
public Observable<Page<TenantIdDescriptionInner>> listAsync() {
        return listWithServiceResponseAsync()
            .map(new Func1<ServiceResponse<Page<TenantIdDescriptionInner>>, Page<TenantIdDescriptionInner>>() {
                @Override
                public Page<TenantIdDescriptionInner> call(ServiceResponse<Page<TenantIdDescriptionInner>> response) {
                    return response.body();
                }
            });
    }
191873
public java.util.List<String> getEgressOnlyInternetGatewayIds() {
        if (egressOnlyInternetGatewayIds == null) {
            egressOnlyInternetGatewayIds = new com.amazonaws.internal.SdkInternalList<String>();
        }
        return egressOnlyInternetGatewayIds;
    }
799933
@Override
    public Map<String, Integer> getGatewayPortMappings() {

        final Map<String, Integer> result = new ConcurrentHashMap<String, Integer>();
        final Map<String, String> properties = getValByRegex(GATEWAY_PORT_MAPPING_REGEX);

        // Convert port no. from string to int
        for(final Map.Entry<String, String> e : properties.entrySet()) {
            // ignore the GATEWAY_PORT_MAPPING_ENABLED property
            if(!e.getKey().equalsIgnoreCase(GATEWAY_PORT_MAPPING_ENABLED)) {
                // extract the topology name and use it as a key
                result.put(StringUtils.substringAfter(e.getKey(), GATEWAY_PORT_MAPPING_PREFIX), Integer.parseInt(e.getValue()) );
            }

        }

        return Collections.unmodifiableMap(result);
    }
496625
function listSubscribers(req, res, next) {
  var listSubscribersParams = {
    _id: req.params.id
  };

  logger.debug("Middleware: listSubscribers: ", {params: listSubscribersParams});

  forms.getNotifications(_.extend(req.connectionOptions, listSubscribersParams), formsResultHandlers(constants.resultTypes.forms, req, next));
}
1222164
public java.util.List<String> getInternetGatewayIds() {
        if (internetGatewayIds == null) {
            internetGatewayIds = new com.amazonaws.internal.SdkInternalList<String>();
        }
        return internetGatewayIds;
    }
1245531
public java.util.List<IpRouteInfo> getIpRoutesInfo() {
        if (ipRoutesInfo == null) {
            ipRoutesInfo = new com.amazonaws.internal.SdkInternalList<IpRouteInfo>();
        }
        return ipRoutesInfo;
    }
1189931
public List getSubscriptionList()
  {
    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
      SibTr.entry(tc, "getSubscriptionList");

    List list;
    HashMap durableSubs = destinationManager.getDurableSubscriptionsTable();

    synchronized (durableSubs)
    {
      list = new ArrayList(durableSubs.keySet());
    }

    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
      SibTr.exit(tc, "getSubscriptionList", list);

    return list;
  }
825295
private List<RouteHandler> routePopulator() {
        // add global filters to all routes
        // currently, they are added AFTER already added filters
        // README create populator class for this behaviour
        filters.forEach(f -> routes.forEach(r -> r.filter(f)));
        beforeFilters.forEach(f -> routes.forEach(r -> r.before(f)));
        afterFilters.forEach(f -> routes.forEach(r -> r.after(f)));
        
        return routes.stream().map(Route.Builder::build).collect(Collectors.toList());
    }
1184643
public java.util.List<BGPPeer> getBgpPeers() {
        if (bgpPeers == null) {
            bgpPeers = new com.amazonaws.internal.SdkInternalList<BGPPeer>();
        }
        return bgpPeers;
    }
384567
def get_subscriptions(self):
        
        # Example: {'subscriptions': ['subscriptions/TripDistance~sub', 'subscriptions/FuelRate~sub', ]}
        subscriptions = []
        for uri in self.get_http_client().get("subscriptions").get('subscriptions'):
            subscriptions.append(self.get_subscription(uri.split("/")[-1]))
        return subscriptions
1301050
public Observable<Page<BillingMeterInner>> listAsync() {
        return listWithServiceResponseAsync()
            .map(new Func1<ServiceResponse<Page<BillingMeterInner>>, Page<BillingMeterInner>>() {
                @Override
                public Page<BillingMeterInner> call(ServiceResponse<Page<BillingMeterInner>> response) {
                    return response.body();
                }
            });
    }
828245
public Observable<ApplicationGatewayAvailableSslOptionsInner> listAvailableSslOptionsAsync() {
        return listAvailableSslOptionsWithServiceResponseAsync().map(new Func1<ServiceResponse<ApplicationGatewayAvailableSslOptionsInner>, ApplicationGatewayAvailableSslOptionsInner>() {
            @Override
            public ApplicationGatewayAvailableSslOptionsInner call(ServiceResponse<ApplicationGatewayAvailableSslOptionsInner> response) {
                return response.body();
            }
        });
    }
675910
public java.util.List<RouteFilterPrefix> getRemoveAllowedPrefixesToDirectConnectGateway() {
        if (removeAllowedPrefixesToDirectConnectGateway == null) {
            removeAllowedPrefixesToDirectConnectGateway = new com.amazonaws.internal.SdkInternalList<RouteFilterPrefix>();
        }
        return removeAllowedPrefixesToDirectConnectGateway;
    }
381365
public java.util.List<RouteFilterPrefix> getAllowedPrefixesToDirectConnectGateway() {
        if (allowedPrefixesToDirectConnectGateway == null) {
            allowedPrefixesToDirectConnectGateway = new com.amazonaws.internal.SdkInternalList<RouteFilterPrefix>();
        }
        return allowedPrefixesToDirectConnectGateway;
    }
373245
public ServiceCall<GatewayList> listGateways(ListGatewaysOptions listGatewaysOptions) {
    Validator.notNull(listGatewaysOptions, "listGatewaysOptions cannot be null");
    String[] pathSegments = { "v1/environments", "gateways" };
    String[] pathParameters = { listGatewaysOptions.environmentId() };
    RequestBuilder builder = RequestBuilder.get(RequestBuilder.constructHttpUrl(getEndPoint(), pathSegments,
        pathParameters));
    builder.query("version", versionDate);
    Map<String, String> sdkHeaders = SdkCommon.getSdkHeaders("discovery", "v1", "listGateways");
    for (Entry<String, String> header : sdkHeaders.entrySet()) {
      builder.header(header.getKey(), header.getValue());
    }
    builder.header("Accept", "application/json");
    return createServiceCall(builder.build(), ResponseConverterUtils.getObject(GatewayList.class));
  }
480028
@GET
    public List<String> getRoutes() {
        List<Resource> resourceList = resourceContext.getResourceModel().getResources();
        List<String> routeList = Lists.newArrayList();
        for (Resource resource : resourceList) {
            String path = resource.getPath().startsWith("/") ? "" : "/" + resource.getPath();
            if (resource.getAllMethods().size() > 0) {
                routeList.add(path);
            }
            routeList.addAll(
                    resource.getChildResources()
                            .stream()
                            .map(res -> path + (res.getPath().startsWith("/") ? "" : "/") + res.getPath())
                            .collect(Collectors.toList())
            );
        }
        return routeList;
    }