> getPagingModelWithItemNameWithXMSClientNameNext(
+ @PathParam(value = "nextLink", encoded = true) String nextLink,
+ @HostParam("$host") String host,
+ @HeaderParam("Accept") String accept,
+ RequestOptions requestOptions,
+ Context context);
+ }
+
+ /**
+ * A paging operation that must return result of the default 'value' node.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Mono> getNoItemNamePagesSinglePageAsync(RequestOptions requestOptions) {
+ final String accept = "application/json";
+ return FluxUtil.withContext(
+ context -> service.getNoItemNamePages(this.client.getHost(), accept, requestOptions, context))
+ .map(
+ res ->
+ new PagedResponseBase<>(
+ res.getRequest(),
+ res.getStatusCode(),
+ res.getHeaders(),
+ getValues(res.getValue(), "value"),
+ getNextLink(res.getValue(), "nextLink"),
+ null));
+ }
+
+ /**
+ * A paging operation that must return result of the default 'value' node.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Mono> getNoItemNamePagesSinglePageAsync(
+ RequestOptions requestOptions, Context context) {
+ final String accept = "application/json";
+ return service.getNoItemNamePages(this.client.getHost(), accept, requestOptions, context)
+ .map(
+ res ->
+ new PagedResponseBase<>(
+ res.getRequest(),
+ res.getStatusCode(),
+ res.getHeaders(),
+ getValues(res.getValue(), "value"),
+ getNextLink(res.getValue(), "nextLink"),
+ null));
+ }
+
+ /**
+ * A paging operation that must return result of the default 'value' node.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedFlux getNoItemNamePagesAsync(RequestOptions requestOptions) {
+ return new PagedFlux<>(
+ () -> getNoItemNamePagesSinglePageAsync(requestOptions),
+ nextLink -> getNoItemNamePagesNextSinglePageAsync(nextLink, requestOptions));
+ }
+
+ /**
+ * A paging operation that must return result of the default 'value' node.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedFlux getNoItemNamePagesAsync(RequestOptions requestOptions, Context context) {
+ return new PagedFlux<>(
+ () -> getNoItemNamePagesSinglePageAsync(requestOptions, context),
+ nextLink -> getNoItemNamePagesNextSinglePageAsync(nextLink, requestOptions, context));
+ }
+
+ /**
+ * A paging operation that must return result of the default 'value' node.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedIterable getNoItemNamePages(RequestOptions requestOptions) {
+ return new PagedIterable<>(getNoItemNamePagesAsync(requestOptions));
+ }
+
+ /**
+ * A paging operation that must return result of the default 'value' node.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedIterable getNoItemNamePages(RequestOptions requestOptions, Context context) {
+ return new PagedIterable<>(getNoItemNamePagesAsync(requestOptions, context));
+ }
+
+ /**
+ * A paging operation that must ignore any kind of nextLink, and stop after page 1.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Mono> getNullNextLinkNamePagesSinglePageAsync(RequestOptions requestOptions) {
+ final String accept = "application/json";
+ return FluxUtil.withContext(
+ context ->
+ service.getNullNextLinkNamePages(
+ this.client.getHost(), accept, requestOptions, context))
+ .map(
+ res ->
+ new PagedResponseBase<>(
+ res.getRequest(),
+ res.getStatusCode(),
+ res.getHeaders(),
+ getValues(res.getValue(), "values"),
+ null,
+ null));
+ }
+
+ /**
+ * A paging operation that must ignore any kind of nextLink, and stop after page 1.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Mono> getNullNextLinkNamePagesSinglePageAsync(
+ RequestOptions requestOptions, Context context) {
+ final String accept = "application/json";
+ return service.getNullNextLinkNamePages(this.client.getHost(), accept, requestOptions, context)
+ .map(
+ res ->
+ new PagedResponseBase<>(
+ res.getRequest(),
+ res.getStatusCode(),
+ res.getHeaders(),
+ getValues(res.getValue(), "values"),
+ null,
+ null));
+ }
+
+ /**
+ * A paging operation that must ignore any kind of nextLink, and stop after page 1.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedFlux getNullNextLinkNamePagesAsync(RequestOptions requestOptions) {
+ return new PagedFlux<>(() -> getNullNextLinkNamePagesSinglePageAsync(requestOptions));
+ }
+
+ /**
+ * A paging operation that must ignore any kind of nextLink, and stop after page 1.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedFlux getNullNextLinkNamePagesAsync(RequestOptions requestOptions, Context context) {
+ return new PagedFlux<>(() -> getNullNextLinkNamePagesSinglePageAsync(requestOptions, context));
+ }
+
+ /**
+ * A paging operation that must ignore any kind of nextLink, and stop after page 1.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedIterable getNullNextLinkNamePages(RequestOptions requestOptions) {
+ return new PagedIterable<>(getNullNextLinkNamePagesAsync(requestOptions));
+ }
+
+ /**
+ * A paging operation that must ignore any kind of nextLink, and stop after page 1.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedIterable getNullNextLinkNamePages(RequestOptions requestOptions, Context context) {
+ return new PagedIterable<>(getNullNextLinkNamePagesAsync(requestOptions, context));
+ }
+
+ /**
+ * A paging operation that finishes on the first call without a nextlink.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Mono> getSinglePagesSinglePageAsync(RequestOptions requestOptions) {
+ final String accept = "application/json";
+ return FluxUtil.withContext(
+ context -> service.getSinglePages(this.client.getHost(), accept, requestOptions, context))
+ .map(
+ res ->
+ new PagedResponseBase<>(
+ res.getRequest(),
+ res.getStatusCode(),
+ res.getHeaders(),
+ getValues(res.getValue(), "values"),
+ getNextLink(res.getValue(), "nextLink"),
+ null));
+ }
+
+ /**
+ * A paging operation that finishes on the first call without a nextlink.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Mono> getSinglePagesSinglePageAsync(
+ RequestOptions requestOptions, Context context) {
+ final String accept = "application/json";
+ return service.getSinglePages(this.client.getHost(), accept, requestOptions, context)
+ .map(
+ res ->
+ new PagedResponseBase<>(
+ res.getRequest(),
+ res.getStatusCode(),
+ res.getHeaders(),
+ getValues(res.getValue(), "values"),
+ getNextLink(res.getValue(), "nextLink"),
+ null));
+ }
+
+ /**
+ * A paging operation that finishes on the first call without a nextlink.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedFlux getSinglePagesAsync(RequestOptions requestOptions) {
+ return new PagedFlux<>(
+ () -> getSinglePagesSinglePageAsync(requestOptions),
+ nextLink -> getSinglePagesNextSinglePageAsync(nextLink, requestOptions));
+ }
+
+ /**
+ * A paging operation that finishes on the first call without a nextlink.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedFlux getSinglePagesAsync(RequestOptions requestOptions, Context context) {
+ return new PagedFlux<>(
+ () -> getSinglePagesSinglePageAsync(requestOptions, context),
+ nextLink -> getSinglePagesNextSinglePageAsync(nextLink, requestOptions, context));
+ }
+
+ /**
+ * A paging operation that finishes on the first call without a nextlink.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedIterable getSinglePages(RequestOptions requestOptions) {
+ return new PagedIterable<>(getSinglePagesAsync(requestOptions));
+ }
+
+ /**
+ * A paging operation that finishes on the first call without a nextlink.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedIterable getSinglePages(RequestOptions requestOptions, Context context) {
+ return new PagedIterable<>(getSinglePagesAsync(requestOptions, context));
+ }
+
+ /**
+ * A paging operation whose first response's items list is empty, but still returns a next link. Second (and final)
+ * call, will give you an items list of 1.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Mono> firstResponseEmptySinglePageAsync(RequestOptions requestOptions) {
+ final String accept = "application/json";
+ return FluxUtil.withContext(
+ context -> service.firstResponseEmpty(this.client.getHost(), accept, requestOptions, context))
+ .map(
+ res ->
+ new PagedResponseBase<>(
+ res.getRequest(),
+ res.getStatusCode(),
+ res.getHeaders(),
+ getValues(res.getValue(), "value"),
+ getNextLink(res.getValue(), "nextLink"),
+ null));
+ }
+
+ /**
+ * A paging operation whose first response's items list is empty, but still returns a next link. Second (and final)
+ * call, will give you an items list of 1.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Mono> firstResponseEmptySinglePageAsync(
+ RequestOptions requestOptions, Context context) {
+ final String accept = "application/json";
+ return service.firstResponseEmpty(this.client.getHost(), accept, requestOptions, context)
+ .map(
+ res ->
+ new PagedResponseBase<>(
+ res.getRequest(),
+ res.getStatusCode(),
+ res.getHeaders(),
+ getValues(res.getValue(), "value"),
+ getNextLink(res.getValue(), "nextLink"),
+ null));
+ }
+
+ /**
+ * A paging operation whose first response's items list is empty, but still returns a next link. Second (and final)
+ * call, will give you an items list of 1.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedFlux firstResponseEmptyAsync(RequestOptions requestOptions) {
+ return new PagedFlux<>(
+ () -> firstResponseEmptySinglePageAsync(requestOptions),
+ nextLink -> firstResponseEmptyNextSinglePageAsync(nextLink, requestOptions));
+ }
+
+ /**
+ * A paging operation whose first response's items list is empty, but still returns a next link. Second (and final)
+ * call, will give you an items list of 1.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedFlux firstResponseEmptyAsync(RequestOptions requestOptions, Context context) {
+ return new PagedFlux<>(
+ () -> firstResponseEmptySinglePageAsync(requestOptions, context),
+ nextLink -> firstResponseEmptyNextSinglePageAsync(nextLink, requestOptions, context));
+ }
+
+ /**
+ * A paging operation whose first response's items list is empty, but still returns a next link. Second (and final)
+ * call, will give you an items list of 1.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedIterable firstResponseEmpty(RequestOptions requestOptions) {
+ return new PagedIterable<>(firstResponseEmptyAsync(requestOptions));
+ }
+
+ /**
+ * A paging operation whose first response's items list is empty, but still returns a next link. Second (and final)
+ * call, will give you an items list of 1.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedIterable firstResponseEmpty(RequestOptions requestOptions, Context context) {
+ return new PagedIterable<>(firstResponseEmptyAsync(requestOptions, context));
+ }
+
+ /**
+ * A paging operation that includes a nextLink that has 10 pages.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Mono> getMultiplePagesSinglePageAsync(RequestOptions requestOptions) {
+ final String accept = "application/json";
+ return FluxUtil.withContext(
+ context -> service.getMultiplePages(this.client.getHost(), accept, requestOptions, context))
+ .map(
+ res ->
+ new PagedResponseBase<>(
+ res.getRequest(),
+ res.getStatusCode(),
+ res.getHeaders(),
+ getValues(res.getValue(), "values"),
+ getNextLink(res.getValue(), "nextLink"),
+ null));
+ }
+
+ /**
+ * A paging operation that includes a nextLink that has 10 pages.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Mono> getMultiplePagesSinglePageAsync(
+ RequestOptions requestOptions, Context context) {
+ final String accept = "application/json";
+ return service.getMultiplePages(this.client.getHost(), accept, requestOptions, context)
+ .map(
+ res ->
+ new PagedResponseBase<>(
+ res.getRequest(),
+ res.getStatusCode(),
+ res.getHeaders(),
+ getValues(res.getValue(), "values"),
+ getNextLink(res.getValue(), "nextLink"),
+ null));
+ }
+
+ /**
+ * A paging operation that includes a nextLink that has 10 pages.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedFlux getMultiplePagesAsync(RequestOptions requestOptions) {
+ return new PagedFlux<>(
+ () -> getMultiplePagesSinglePageAsync(requestOptions),
+ nextLink -> getMultiplePagesNextSinglePageAsync(nextLink, requestOptions));
+ }
+
+ /**
+ * A paging operation that includes a nextLink that has 10 pages.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedFlux getMultiplePagesAsync(RequestOptions requestOptions, Context context) {
+ return new PagedFlux<>(
+ () -> getMultiplePagesSinglePageAsync(requestOptions, context),
+ nextLink -> getMultiplePagesNextSinglePageAsync(nextLink, requestOptions, context));
+ }
+
+ /**
+ * A paging operation that includes a nextLink that has 10 pages.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedIterable getMultiplePages(RequestOptions requestOptions) {
+ return new PagedIterable<>(getMultiplePagesAsync(requestOptions));
+ }
+
+ /**
+ * A paging operation that includes a nextLink that has 10 pages.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedIterable getMultiplePages(RequestOptions requestOptions, Context context) {
+ return new PagedIterable<>(getMultiplePagesAsync(requestOptions, context));
+ }
+
+ /**
+ * A paging operation that includes a next operation. It has a different query parameter from it's next operation
+ * nextOperationWithQueryParams. Returns a ProductResult.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @param requiredQueryParameter A required integer query parameter. Put in value '100' to pass test.
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Mono> getWithQueryParamsSinglePageAsync(
+ int requiredQueryParameter, RequestOptions requestOptions) {
+ final boolean queryConstant = true;
+ final String accept = "application/json";
+ return FluxUtil.withContext(
+ context ->
+ service.getWithQueryParams(
+ this.client.getHost(),
+ requiredQueryParameter,
+ queryConstant,
+ accept,
+ requestOptions,
+ context))
+ .map(
+ res ->
+ new PagedResponseBase<>(
+ res.getRequest(),
+ res.getStatusCode(),
+ res.getHeaders(),
+ getValues(res.getValue(), "values"),
+ getNextLink(res.getValue(), "nextLink"),
+ null));
+ }
+
+ /**
+ * A paging operation that includes a next operation. It has a different query parameter from it's next operation
+ * nextOperationWithQueryParams. Returns a ProductResult.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @param requiredQueryParameter A required integer query parameter. Put in value '100' to pass test.
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Mono> getWithQueryParamsSinglePageAsync(
+ int requiredQueryParameter, RequestOptions requestOptions, Context context) {
+ final boolean queryConstant = true;
+ final String accept = "application/json";
+ return service.getWithQueryParams(
+ this.client.getHost(), requiredQueryParameter, queryConstant, accept, requestOptions, context)
+ .map(
+ res ->
+ new PagedResponseBase<>(
+ res.getRequest(),
+ res.getStatusCode(),
+ res.getHeaders(),
+ getValues(res.getValue(), "values"),
+ getNextLink(res.getValue(), "nextLink"),
+ null));
+ }
+
+ /**
+ * A paging operation that includes a next operation. It has a different query parameter from it's next operation
+ * nextOperationWithQueryParams. Returns a ProductResult.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @param requiredQueryParameter A required integer query parameter. Put in value '100' to pass test.
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedFlux getWithQueryParamsAsync(int requiredQueryParameter, RequestOptions requestOptions) {
+ return new PagedFlux<>(
+ () -> getWithQueryParamsSinglePageAsync(requiredQueryParameter, requestOptions),
+ nextLink -> nextOperationWithQueryParamsSinglePageAsync(requestOptions));
+ }
+
+ /**
+ * A paging operation that includes a next operation. It has a different query parameter from it's next operation
+ * nextOperationWithQueryParams. Returns a ProductResult.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @param requiredQueryParameter A required integer query parameter. Put in value '100' to pass test.
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedFlux getWithQueryParamsAsync(
+ int requiredQueryParameter, RequestOptions requestOptions, Context context) {
+ return new PagedFlux<>(
+ () -> getWithQueryParamsSinglePageAsync(requiredQueryParameter, requestOptions, context),
+ nextLink -> nextOperationWithQueryParamsSinglePageAsync(requestOptions, context));
+ }
+
+ /**
+ * A paging operation that includes a next operation. It has a different query parameter from it's next operation
+ * nextOperationWithQueryParams. Returns a ProductResult.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @param requiredQueryParameter A required integer query parameter. Put in value '100' to pass test.
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedIterable getWithQueryParams(int requiredQueryParameter, RequestOptions requestOptions) {
+ return new PagedIterable<>(getWithQueryParamsAsync(requiredQueryParameter, requestOptions));
+ }
+
+ /**
+ * A paging operation that includes a next operation. It has a different query parameter from it's next operation
+ * nextOperationWithQueryParams. Returns a ProductResult.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @param requiredQueryParameter A required integer query parameter. Put in value '100' to pass test.
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedIterable getWithQueryParams(
+ int requiredQueryParameter, RequestOptions requestOptions, Context context) {
+ return new PagedIterable<>(getWithQueryParamsAsync(requiredQueryParameter, requestOptions, context));
+ }
+
+ /**
+ * Next operation for getWithQueryParams. Pass in next=True to pass test. Returns a ProductResult.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Mono> nextOperationWithQueryParamsSinglePageAsync(RequestOptions requestOptions) {
+ final boolean queryConstant = true;
+ final String accept = "application/json";
+ return FluxUtil.withContext(
+ context ->
+ service.nextOperationWithQueryParams(
+ this.client.getHost(), queryConstant, accept, requestOptions, context))
+ .map(
+ res ->
+ new PagedResponseBase<>(
+ res.getRequest(),
+ res.getStatusCode(),
+ res.getHeaders(),
+ getValues(res.getValue(), "values"),
+ null,
+ null));
+ }
+
+ /**
+ * Next operation for getWithQueryParams. Pass in next=True to pass test. Returns a ProductResult.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Mono> nextOperationWithQueryParamsSinglePageAsync(
+ RequestOptions requestOptions, Context context) {
+ final boolean queryConstant = true;
+ final String accept = "application/json";
+ return service.nextOperationWithQueryParams(
+ this.client.getHost(), queryConstant, accept, requestOptions, context)
+ .map(
+ res ->
+ new PagedResponseBase<>(
+ res.getRequest(),
+ res.getStatusCode(),
+ res.getHeaders(),
+ getValues(res.getValue(), "values"),
+ null,
+ null));
+ }
+
+ /**
+ * A paging operation that includes a nextLink in odata format that has 10 pages.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Mono> getOdataMultiplePagesSinglePageAsync(RequestOptions requestOptions) {
+ final String accept = "application/json";
+ return FluxUtil.withContext(
+ context ->
+ service.getOdataMultiplePages(this.client.getHost(), accept, requestOptions, context))
+ .map(
+ res ->
+ new PagedResponseBase<>(
+ res.getRequest(),
+ res.getStatusCode(),
+ res.getHeaders(),
+ getValues(res.getValue(), "values"),
+ getNextLink(res.getValue(), "odata.nextLink"),
+ null));
+ }
+
+ /**
+ * A paging operation that includes a nextLink in odata format that has 10 pages.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Mono> getOdataMultiplePagesSinglePageAsync(
+ RequestOptions requestOptions, Context context) {
+ final String accept = "application/json";
+ return service.getOdataMultiplePages(this.client.getHost(), accept, requestOptions, context)
+ .map(
+ res ->
+ new PagedResponseBase<>(
+ res.getRequest(),
+ res.getStatusCode(),
+ res.getHeaders(),
+ getValues(res.getValue(), "values"),
+ getNextLink(res.getValue(), "odata.nextLink"),
+ null));
+ }
+
+ /**
+ * A paging operation that includes a nextLink in odata format that has 10 pages.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedFlux getOdataMultiplePagesAsync(RequestOptions requestOptions) {
+ return new PagedFlux<>(
+ () -> getOdataMultiplePagesSinglePageAsync(requestOptions),
+ nextLink -> getOdataMultiplePagesNextSinglePageAsync(nextLink, requestOptions));
+ }
+
+ /**
+ * A paging operation that includes a nextLink in odata format that has 10 pages.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedFlux getOdataMultiplePagesAsync(RequestOptions requestOptions, Context context) {
+ return new PagedFlux<>(
+ () -> getOdataMultiplePagesSinglePageAsync(requestOptions, context),
+ nextLink -> getOdataMultiplePagesNextSinglePageAsync(nextLink, requestOptions, context));
+ }
+
+ /**
+ * A paging operation that includes a nextLink in odata format that has 10 pages.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedIterable getOdataMultiplePages(RequestOptions requestOptions) {
+ return new PagedIterable<>(getOdataMultiplePagesAsync(requestOptions));
+ }
+
+ /**
+ * A paging operation that includes a nextLink in odata format that has 10 pages.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedIterable getOdataMultiplePages(RequestOptions requestOptions, Context context) {
+ return new PagedIterable<>(getOdataMultiplePagesAsync(requestOptions, context));
+ }
+
+ /**
+ * A paging operation that includes a nextLink that has 10 pages.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @param offset Offset of return value.
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Mono> getMultiplePagesWithOffsetSinglePageAsync(
+ int offset, RequestOptions requestOptions) {
+ final String accept = "application/json";
+ return FluxUtil.withContext(
+ context ->
+ service.getMultiplePagesWithOffset(
+ this.client.getHost(), offset, accept, requestOptions, context))
+ .map(
+ res ->
+ new PagedResponseBase<>(
+ res.getRequest(),
+ res.getStatusCode(),
+ res.getHeaders(),
+ getValues(res.getValue(), "values"),
+ getNextLink(res.getValue(), "nextLink"),
+ null));
+ }
+
+ /**
+ * A paging operation that includes a nextLink that has 10 pages.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @param offset Offset of return value.
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Mono> getMultiplePagesWithOffsetSinglePageAsync(
+ int offset, RequestOptions requestOptions, Context context) {
+ final String accept = "application/json";
+ return service.getMultiplePagesWithOffset(this.client.getHost(), offset, accept, requestOptions, context)
+ .map(
+ res ->
+ new PagedResponseBase<>(
+ res.getRequest(),
+ res.getStatusCode(),
+ res.getHeaders(),
+ getValues(res.getValue(), "values"),
+ getNextLink(res.getValue(), "nextLink"),
+ null));
+ }
+
+ /**
+ * A paging operation that includes a nextLink that has 10 pages.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @param offset Offset of return value.
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedFlux getMultiplePagesWithOffsetAsync(int offset, RequestOptions requestOptions) {
+ return new PagedFlux<>(
+ () -> getMultiplePagesWithOffsetSinglePageAsync(offset, requestOptions),
+ nextLink -> getMultiplePagesWithOffsetNextSinglePageAsync(nextLink, requestOptions));
+ }
+
+ /**
+ * A paging operation that includes a nextLink that has 10 pages.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @param offset Offset of return value.
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedFlux getMultiplePagesWithOffsetAsync(
+ int offset, RequestOptions requestOptions, Context context) {
+ return new PagedFlux<>(
+ () -> getMultiplePagesWithOffsetSinglePageAsync(offset, requestOptions, context),
+ nextLink -> getMultiplePagesWithOffsetNextSinglePageAsync(nextLink, requestOptions, context));
+ }
+
+ /**
+ * A paging operation that includes a nextLink that has 10 pages.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @param offset Offset of return value.
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedIterable getMultiplePagesWithOffset(int offset, RequestOptions requestOptions) {
+ return new PagedIterable<>(getMultiplePagesWithOffsetAsync(offset, requestOptions));
+ }
+
+ /**
+ * A paging operation that includes a nextLink that has 10 pages.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @param offset Offset of return value.
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedIterable getMultiplePagesWithOffset(
+ int offset, RequestOptions requestOptions, Context context) {
+ return new PagedIterable<>(getMultiplePagesWithOffsetAsync(offset, requestOptions, context));
+ }
+
+ /**
+ * A paging operation that fails on the first call with 500 and then retries and then get a response including a
+ * nextLink that has 10 pages.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Mono> getMultiplePagesRetryFirstSinglePageAsync(RequestOptions requestOptions) {
+ final String accept = "application/json";
+ return FluxUtil.withContext(
+ context ->
+ service.getMultiplePagesRetryFirst(
+ this.client.getHost(), accept, requestOptions, context))
+ .map(
+ res ->
+ new PagedResponseBase<>(
+ res.getRequest(),
+ res.getStatusCode(),
+ res.getHeaders(),
+ getValues(res.getValue(), "values"),
+ getNextLink(res.getValue(), "nextLink"),
+ null));
+ }
+
+ /**
+ * A paging operation that fails on the first call with 500 and then retries and then get a response including a
+ * nextLink that has 10 pages.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Mono> getMultiplePagesRetryFirstSinglePageAsync(
+ RequestOptions requestOptions, Context context) {
+ final String accept = "application/json";
+ return service.getMultiplePagesRetryFirst(this.client.getHost(), accept, requestOptions, context)
+ .map(
+ res ->
+ new PagedResponseBase<>(
+ res.getRequest(),
+ res.getStatusCode(),
+ res.getHeaders(),
+ getValues(res.getValue(), "values"),
+ getNextLink(res.getValue(), "nextLink"),
+ null));
+ }
+
+ /**
+ * A paging operation that fails on the first call with 500 and then retries and then get a response including a
+ * nextLink that has 10 pages.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedFlux getMultiplePagesRetryFirstAsync(RequestOptions requestOptions) {
+ return new PagedFlux<>(
+ () -> getMultiplePagesRetryFirstSinglePageAsync(requestOptions),
+ nextLink -> getMultiplePagesRetryFirstNextSinglePageAsync(nextLink, requestOptions));
+ }
+
+ /**
+ * A paging operation that fails on the first call with 500 and then retries and then get a response including a
+ * nextLink that has 10 pages.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedFlux getMultiplePagesRetryFirstAsync(RequestOptions requestOptions, Context context) {
+ return new PagedFlux<>(
+ () -> getMultiplePagesRetryFirstSinglePageAsync(requestOptions, context),
+ nextLink -> getMultiplePagesRetryFirstNextSinglePageAsync(nextLink, requestOptions, context));
+ }
+
+ /**
+ * A paging operation that fails on the first call with 500 and then retries and then get a response including a
+ * nextLink that has 10 pages.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedIterable getMultiplePagesRetryFirst(RequestOptions requestOptions) {
+ return new PagedIterable<>(getMultiplePagesRetryFirstAsync(requestOptions));
+ }
+
+ /**
+ * A paging operation that fails on the first call with 500 and then retries and then get a response including a
+ * nextLink that has 10 pages.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedIterable getMultiplePagesRetryFirst(RequestOptions requestOptions, Context context) {
+ return new PagedIterable<>(getMultiplePagesRetryFirstAsync(requestOptions, context));
+ }
+
+ /**
+ * A paging operation that includes a nextLink that has 10 pages, of which the 2nd call fails first with 500. The
+ * client should retry and finish all 10 pages eventually.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Mono> getMultiplePagesRetrySecondSinglePageAsync(RequestOptions requestOptions) {
+ final String accept = "application/json";
+ return FluxUtil.withContext(
+ context ->
+ service.getMultiplePagesRetrySecond(
+ this.client.getHost(), accept, requestOptions, context))
+ .map(
+ res ->
+ new PagedResponseBase<>(
+ res.getRequest(),
+ res.getStatusCode(),
+ res.getHeaders(),
+ getValues(res.getValue(), "values"),
+ getNextLink(res.getValue(), "nextLink"),
+ null));
+ }
+
+ /**
+ * A paging operation that includes a nextLink that has 10 pages, of which the 2nd call fails first with 500. The
+ * client should retry and finish all 10 pages eventually.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Mono> getMultiplePagesRetrySecondSinglePageAsync(
+ RequestOptions requestOptions, Context context) {
+ final String accept = "application/json";
+ return service.getMultiplePagesRetrySecond(this.client.getHost(), accept, requestOptions, context)
+ .map(
+ res ->
+ new PagedResponseBase<>(
+ res.getRequest(),
+ res.getStatusCode(),
+ res.getHeaders(),
+ getValues(res.getValue(), "values"),
+ getNextLink(res.getValue(), "nextLink"),
+ null));
+ }
+
+ /**
+ * A paging operation that includes a nextLink that has 10 pages, of which the 2nd call fails first with 500. The
+ * client should retry and finish all 10 pages eventually.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedFlux getMultiplePagesRetrySecondAsync(RequestOptions requestOptions) {
+ return new PagedFlux<>(
+ () -> getMultiplePagesRetrySecondSinglePageAsync(requestOptions),
+ nextLink -> getMultiplePagesRetrySecondNextSinglePageAsync(nextLink, requestOptions));
+ }
+
+ /**
+ * A paging operation that includes a nextLink that has 10 pages, of which the 2nd call fails first with 500. The
+ * client should retry and finish all 10 pages eventually.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedFlux getMultiplePagesRetrySecondAsync(RequestOptions requestOptions, Context context) {
+ return new PagedFlux<>(
+ () -> getMultiplePagesRetrySecondSinglePageAsync(requestOptions, context),
+ nextLink -> getMultiplePagesRetrySecondNextSinglePageAsync(nextLink, requestOptions, context));
+ }
+
+ /**
+ * A paging operation that includes a nextLink that has 10 pages, of which the 2nd call fails first with 500. The
+ * client should retry and finish all 10 pages eventually.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedIterable getMultiplePagesRetrySecond(RequestOptions requestOptions) {
+ return new PagedIterable<>(getMultiplePagesRetrySecondAsync(requestOptions));
+ }
+
+ /**
+ * A paging operation that includes a nextLink that has 10 pages, of which the 2nd call fails first with 500. The
+ * client should retry and finish all 10 pages eventually.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedIterable getMultiplePagesRetrySecond(RequestOptions requestOptions, Context context) {
+ return new PagedIterable<>(getMultiplePagesRetrySecondAsync(requestOptions, context));
+ }
+
+ /**
+ * A paging operation that receives a 400 on the first call.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Mono> getSinglePagesFailureSinglePageAsync(RequestOptions requestOptions) {
+ final String accept = "application/json";
+ return FluxUtil.withContext(
+ context ->
+ service.getSinglePagesFailure(this.client.getHost(), accept, requestOptions, context))
+ .map(
+ res ->
+ new PagedResponseBase<>(
+ res.getRequest(),
+ res.getStatusCode(),
+ res.getHeaders(),
+ getValues(res.getValue(), "values"),
+ getNextLink(res.getValue(), "nextLink"),
+ null));
+ }
+
+ /**
+ * A paging operation that receives a 400 on the first call.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Mono> getSinglePagesFailureSinglePageAsync(
+ RequestOptions requestOptions, Context context) {
+ final String accept = "application/json";
+ return service.getSinglePagesFailure(this.client.getHost(), accept, requestOptions, context)
+ .map(
+ res ->
+ new PagedResponseBase<>(
+ res.getRequest(),
+ res.getStatusCode(),
+ res.getHeaders(),
+ getValues(res.getValue(), "values"),
+ getNextLink(res.getValue(), "nextLink"),
+ null));
+ }
+
+ /**
+ * A paging operation that receives a 400 on the first call.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedFlux getSinglePagesFailureAsync(RequestOptions requestOptions) {
+ return new PagedFlux<>(
+ () -> getSinglePagesFailureSinglePageAsync(requestOptions),
+ nextLink -> getSinglePagesFailureNextSinglePageAsync(nextLink, requestOptions));
+ }
+
+ /**
+ * A paging operation that receives a 400 on the first call.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedFlux getSinglePagesFailureAsync(RequestOptions requestOptions, Context context) {
+ return new PagedFlux<>(
+ () -> getSinglePagesFailureSinglePageAsync(requestOptions, context),
+ nextLink -> getSinglePagesFailureNextSinglePageAsync(nextLink, requestOptions, context));
+ }
+
+ /**
+ * A paging operation that receives a 400 on the first call.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedIterable getSinglePagesFailure(RequestOptions requestOptions) {
+ return new PagedIterable<>(getSinglePagesFailureAsync(requestOptions));
+ }
+
+ /**
+ * A paging operation that receives a 400 on the first call.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedIterable getSinglePagesFailure(RequestOptions requestOptions, Context context) {
+ return new PagedIterable<>(getSinglePagesFailureAsync(requestOptions, context));
+ }
+
+ /**
+ * A paging operation that receives a 400 on the second call.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Mono> getMultiplePagesFailureSinglePageAsync(RequestOptions requestOptions) {
+ final String accept = "application/json";
+ return FluxUtil.withContext(
+ context ->
+ service.getMultiplePagesFailure(this.client.getHost(), accept, requestOptions, context))
+ .map(
+ res ->
+ new PagedResponseBase<>(
+ res.getRequest(),
+ res.getStatusCode(),
+ res.getHeaders(),
+ getValues(res.getValue(), "values"),
+ getNextLink(res.getValue(), "nextLink"),
+ null));
+ }
+
+ /**
+ * A paging operation that receives a 400 on the second call.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Mono> getMultiplePagesFailureSinglePageAsync(
+ RequestOptions requestOptions, Context context) {
+ final String accept = "application/json";
+ return service.getMultiplePagesFailure(this.client.getHost(), accept, requestOptions, context)
+ .map(
+ res ->
+ new PagedResponseBase<>(
+ res.getRequest(),
+ res.getStatusCode(),
+ res.getHeaders(),
+ getValues(res.getValue(), "values"),
+ getNextLink(res.getValue(), "nextLink"),
+ null));
+ }
+
+ /**
+ * A paging operation that receives a 400 on the second call.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedFlux getMultiplePagesFailureAsync(RequestOptions requestOptions) {
+ return new PagedFlux<>(
+ () -> getMultiplePagesFailureSinglePageAsync(requestOptions),
+ nextLink -> getMultiplePagesFailureNextSinglePageAsync(nextLink, requestOptions));
+ }
+
+ /**
+ * A paging operation that receives a 400 on the second call.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedFlux getMultiplePagesFailureAsync(RequestOptions requestOptions, Context context) {
+ return new PagedFlux<>(
+ () -> getMultiplePagesFailureSinglePageAsync(requestOptions, context),
+ nextLink -> getMultiplePagesFailureNextSinglePageAsync(nextLink, requestOptions, context));
+ }
+
+ /**
+ * A paging operation that receives a 400 on the second call.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedIterable getMultiplePagesFailure(RequestOptions requestOptions) {
+ return new PagedIterable<>(getMultiplePagesFailureAsync(requestOptions));
+ }
+
+ /**
+ * A paging operation that receives a 400 on the second call.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedIterable getMultiplePagesFailure(RequestOptions requestOptions, Context context) {
+ return new PagedIterable<>(getMultiplePagesFailureAsync(requestOptions, context));
+ }
+
+ /**
+ * A paging operation that receives an invalid nextLink.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Mono> getMultiplePagesFailureUriSinglePageAsync(RequestOptions requestOptions) {
+ final String accept = "application/json";
+ return FluxUtil.withContext(
+ context ->
+ service.getMultiplePagesFailureUri(
+ this.client.getHost(), accept, requestOptions, context))
+ .map(
+ res ->
+ new PagedResponseBase<>(
+ res.getRequest(),
+ res.getStatusCode(),
+ res.getHeaders(),
+ getValues(res.getValue(), "values"),
+ getNextLink(res.getValue(), "nextLink"),
+ null));
+ }
+
+ /**
+ * A paging operation that receives an invalid nextLink.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Mono> getMultiplePagesFailureUriSinglePageAsync(
+ RequestOptions requestOptions, Context context) {
+ final String accept = "application/json";
+ return service.getMultiplePagesFailureUri(this.client.getHost(), accept, requestOptions, context)
+ .map(
+ res ->
+ new PagedResponseBase<>(
+ res.getRequest(),
+ res.getStatusCode(),
+ res.getHeaders(),
+ getValues(res.getValue(), "values"),
+ getNextLink(res.getValue(), "nextLink"),
+ null));
+ }
+
+ /**
+ * A paging operation that receives an invalid nextLink.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedFlux getMultiplePagesFailureUriAsync(RequestOptions requestOptions) {
+ return new PagedFlux<>(
+ () -> getMultiplePagesFailureUriSinglePageAsync(requestOptions),
+ nextLink -> getMultiplePagesFailureUriNextSinglePageAsync(nextLink, requestOptions));
+ }
+
+ /**
+ * A paging operation that receives an invalid nextLink.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedFlux getMultiplePagesFailureUriAsync(RequestOptions requestOptions, Context context) {
+ return new PagedFlux<>(
+ () -> getMultiplePagesFailureUriSinglePageAsync(requestOptions, context),
+ nextLink -> getMultiplePagesFailureUriNextSinglePageAsync(nextLink, requestOptions, context));
+ }
+
+ /**
+ * A paging operation that receives an invalid nextLink.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedIterable getMultiplePagesFailureUri(RequestOptions requestOptions) {
+ return new PagedIterable<>(getMultiplePagesFailureUriAsync(requestOptions));
+ }
+
+ /**
+ * A paging operation that receives an invalid nextLink.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedIterable getMultiplePagesFailureUri(RequestOptions requestOptions, Context context) {
+ return new PagedIterable<>(getMultiplePagesFailureUriAsync(requestOptions, context));
+ }
+
+ /**
+ * A paging operation that doesn't return a full URL, just a fragment.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @param apiVersion Sets the api version to use.
+ * @param tenant Sets the tenant to use.
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Mono> getMultiplePagesFragmentNextLinkSinglePageAsync(
+ String apiVersion, String tenant, RequestOptions requestOptions) {
+ final String accept = "application/json";
+ return FluxUtil.withContext(
+ context ->
+ service.getMultiplePagesFragmentNextLink(
+ this.client.getHost(), apiVersion, tenant, accept, requestOptions, context))
+ .map(
+ res ->
+ new PagedResponseBase<>(
+ res.getRequest(),
+ res.getStatusCode(),
+ res.getHeaders(),
+ getValues(res.getValue(), "values"),
+ getNextLink(res.getValue(), "odata.nextLink"),
+ null));
+ }
+
+ /**
+ * A paging operation that doesn't return a full URL, just a fragment.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @param apiVersion Sets the api version to use.
+ * @param tenant Sets the tenant to use.
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Mono> getMultiplePagesFragmentNextLinkSinglePageAsync(
+ String apiVersion, String tenant, RequestOptions requestOptions, Context context) {
+ final String accept = "application/json";
+ return service.getMultiplePagesFragmentNextLink(
+ this.client.getHost(), apiVersion, tenant, accept, requestOptions, context)
+ .map(
+ res ->
+ new PagedResponseBase<>(
+ res.getRequest(),
+ res.getStatusCode(),
+ res.getHeaders(),
+ getValues(res.getValue(), "values"),
+ getNextLink(res.getValue(), "odata.nextLink"),
+ null));
+ }
+
+ /**
+ * A paging operation that doesn't return a full URL, just a fragment.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @param apiVersion Sets the api version to use.
+ * @param tenant Sets the tenant to use.
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedFlux getMultiplePagesFragmentNextLinkAsync(
+ String apiVersion, String tenant, RequestOptions requestOptions) {
+ return new PagedFlux<>(
+ () -> getMultiplePagesFragmentNextLinkSinglePageAsync(apiVersion, tenant, requestOptions),
+ nextLink -> nextFragmentSinglePageAsync(apiVersion, tenant, nextLink, requestOptions));
+ }
+
+ /**
+ * A paging operation that doesn't return a full URL, just a fragment.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @param apiVersion Sets the api version to use.
+ * @param tenant Sets the tenant to use.
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedFlux getMultiplePagesFragmentNextLinkAsync(
+ String apiVersion, String tenant, RequestOptions requestOptions, Context context) {
+ return new PagedFlux<>(
+ () -> getMultiplePagesFragmentNextLinkSinglePageAsync(apiVersion, tenant, requestOptions, context),
+ nextLink -> nextFragmentSinglePageAsync(apiVersion, tenant, nextLink, requestOptions, context));
+ }
+
+ /**
+ * A paging operation that doesn't return a full URL, just a fragment.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @param apiVersion Sets the api version to use.
+ * @param tenant Sets the tenant to use.
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedIterable getMultiplePagesFragmentNextLink(
+ String apiVersion, String tenant, RequestOptions requestOptions) {
+ return new PagedIterable<>(getMultiplePagesFragmentNextLinkAsync(apiVersion, tenant, requestOptions));
+ }
+
+ /**
+ * A paging operation that doesn't return a full URL, just a fragment.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @param apiVersion Sets the api version to use.
+ * @param tenant Sets the tenant to use.
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedIterable getMultiplePagesFragmentNextLink(
+ String apiVersion, String tenant, RequestOptions requestOptions, Context context) {
+ return new PagedIterable<>(getMultiplePagesFragmentNextLinkAsync(apiVersion, tenant, requestOptions, context));
+ }
+
+ /**
+ * A paging operation that doesn't return a full URL, just a fragment with parameters grouped.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @param apiVersion Sets the api version to use.
+ * @param tenant Sets the tenant to use.
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Mono> getMultiplePagesFragmentWithGroupingNextLinkSinglePageAsync(
+ String apiVersion, String tenant, RequestOptions requestOptions) {
+ final String accept = "application/json";
+ return FluxUtil.withContext(
+ context ->
+ service.getMultiplePagesFragmentWithGroupingNextLink(
+ this.client.getHost(), apiVersion, tenant, accept, requestOptions, context))
+ .map(
+ res ->
+ new PagedResponseBase<>(
+ res.getRequest(),
+ res.getStatusCode(),
+ res.getHeaders(),
+ getValues(res.getValue(), "values"),
+ getNextLink(res.getValue(), "odata.nextLink"),
+ null));
+ }
+
+ /**
+ * A paging operation that doesn't return a full URL, just a fragment with parameters grouped.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @param apiVersion Sets the api version to use.
+ * @param tenant Sets the tenant to use.
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Mono> getMultiplePagesFragmentWithGroupingNextLinkSinglePageAsync(
+ String apiVersion, String tenant, RequestOptions requestOptions, Context context) {
+ final String accept = "application/json";
+ return service.getMultiplePagesFragmentWithGroupingNextLink(
+ this.client.getHost(), apiVersion, tenant, accept, requestOptions, context)
+ .map(
+ res ->
+ new PagedResponseBase<>(
+ res.getRequest(),
+ res.getStatusCode(),
+ res.getHeaders(),
+ getValues(res.getValue(), "values"),
+ getNextLink(res.getValue(), "odata.nextLink"),
+ null));
+ }
+
+ /**
+ * A paging operation that doesn't return a full URL, just a fragment with parameters grouped.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @param apiVersion Sets the api version to use.
+ * @param tenant Sets the tenant to use.
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedFlux getMultiplePagesFragmentWithGroupingNextLinkAsync(
+ String apiVersion, String tenant, RequestOptions requestOptions) {
+ return new PagedFlux<>(
+ () -> getMultiplePagesFragmentWithGroupingNextLinkSinglePageAsync(apiVersion, tenant, requestOptions),
+ nextLink -> nextFragmentWithGroupingSinglePageAsync(apiVersion, tenant, nextLink, requestOptions));
+ }
+
+ /**
+ * A paging operation that doesn't return a full URL, just a fragment with parameters grouped.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @param apiVersion Sets the api version to use.
+ * @param tenant Sets the tenant to use.
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedFlux getMultiplePagesFragmentWithGroupingNextLinkAsync(
+ String apiVersion, String tenant, RequestOptions requestOptions, Context context) {
+ return new PagedFlux<>(
+ () ->
+ getMultiplePagesFragmentWithGroupingNextLinkSinglePageAsync(
+ apiVersion, tenant, requestOptions, context),
+ nextLink ->
+ nextFragmentWithGroupingSinglePageAsync(apiVersion, tenant, nextLink, requestOptions, context));
+ }
+
+ /**
+ * A paging operation that doesn't return a full URL, just a fragment with parameters grouped.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @param apiVersion Sets the api version to use.
+ * @param tenant Sets the tenant to use.
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedIterable getMultiplePagesFragmentWithGroupingNextLink(
+ String apiVersion, String tenant, RequestOptions requestOptions) {
+ return new PagedIterable<>(
+ getMultiplePagesFragmentWithGroupingNextLinkAsync(apiVersion, tenant, requestOptions));
+ }
+
+ /**
+ * A paging operation that doesn't return a full URL, just a fragment with parameters grouped.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @param apiVersion Sets the api version to use.
+ * @param tenant Sets the tenant to use.
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedIterable getMultiplePagesFragmentWithGroupingNextLink(
+ String apiVersion, String tenant, RequestOptions requestOptions, Context context) {
+ return new PagedIterable<>(
+ getMultiplePagesFragmentWithGroupingNextLinkAsync(apiVersion, tenant, requestOptions, context));
+ }
+
+ /**
+ * A long-running paging operation that includes a nextLink that has 10 pages.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Mono> getMultiplePagesLROSinglePageAsync(RequestOptions requestOptions) {
+ final String accept = "application/json";
+ return FluxUtil.withContext(
+ context -> service.getMultiplePagesLRO(this.client.getHost(), accept, requestOptions, context))
+ .map(
+ res ->
+ new PagedResponseBase<>(
+ res.getRequest(),
+ res.getStatusCode(),
+ res.getHeaders(),
+ getValues(res.getValue(), "values"),
+ getNextLink(res.getValue(), "nextLink"),
+ null));
+ }
+
+ /**
+ * A long-running paging operation that includes a nextLink that has 10 pages.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Mono> getMultiplePagesLROSinglePageAsync(
+ RequestOptions requestOptions, Context context) {
+ final String accept = "application/json";
+ return service.getMultiplePagesLRO(this.client.getHost(), accept, requestOptions, context)
+ .map(
+ res ->
+ new PagedResponseBase<>(
+ res.getRequest(),
+ res.getStatusCode(),
+ res.getHeaders(),
+ getValues(res.getValue(), "values"),
+ getNextLink(res.getValue(), "nextLink"),
+ null));
+ }
+
+ /**
+ * A long-running paging operation that includes a nextLink that has 10 pages.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedFlux getMultiplePagesLROAsync(RequestOptions requestOptions) {
+ return new PagedFlux<>(
+ () -> getMultiplePagesLROSinglePageAsync(requestOptions),
+ nextLink -> getMultiplePagesLRONextSinglePageAsync(nextLink, requestOptions));
+ }
+
+ /**
+ * A long-running paging operation that includes a nextLink that has 10 pages.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedFlux getMultiplePagesLROAsync(RequestOptions requestOptions, Context context) {
+ return new PagedFlux<>(
+ () -> getMultiplePagesLROSinglePageAsync(requestOptions, context),
+ nextLink -> getMultiplePagesLRONextSinglePageAsync(nextLink, requestOptions, context));
+ }
+
+ /**
+ * A long-running paging operation that includes a nextLink that has 10 pages.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedIterable getMultiplePagesLRO(RequestOptions requestOptions) {
+ return new PagedIterable<>(getMultiplePagesLROAsync(requestOptions));
+ }
+
+ /**
+ * A long-running paging operation that includes a nextLink that has 10 pages.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedIterable getMultiplePagesLRO(RequestOptions requestOptions, Context context) {
+ return new PagedIterable<>(getMultiplePagesLROAsync(requestOptions, context));
+ }
+
+ /**
+ * A paging operation that doesn't return a full URL, just a fragment.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @param apiVersion Sets the api version to use.
+ * @param tenant Sets the tenant to use.
+ * @param nextLink Next link for list operation.
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Mono> nextFragmentSinglePageAsync(
+ String apiVersion, String tenant, String nextLink, RequestOptions requestOptions) {
+ final String accept = "application/json";
+ return FluxUtil.withContext(
+ context ->
+ service.nextFragment(
+ this.client.getHost(),
+ apiVersion,
+ tenant,
+ nextLink,
+ accept,
+ requestOptions,
+ context))
+ .map(
+ res ->
+ new PagedResponseBase<>(
+ res.getRequest(),
+ res.getStatusCode(),
+ res.getHeaders(),
+ getValues(res.getValue(), "values"),
+ getNextLink(res.getValue(), "odata.nextLink"),
+ null));
+ }
+
+ /**
+ * A paging operation that doesn't return a full URL, just a fragment.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @param apiVersion Sets the api version to use.
+ * @param tenant Sets the tenant to use.
+ * @param nextLink Next link for list operation.
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Mono> nextFragmentSinglePageAsync(
+ String apiVersion, String tenant, String nextLink, RequestOptions requestOptions, Context context) {
+ final String accept = "application/json";
+ return service.nextFragment(
+ this.client.getHost(), apiVersion, tenant, nextLink, accept, requestOptions, context)
+ .map(
+ res ->
+ new PagedResponseBase<>(
+ res.getRequest(),
+ res.getStatusCode(),
+ res.getHeaders(),
+ getValues(res.getValue(), "values"),
+ getNextLink(res.getValue(), "odata.nextLink"),
+ null));
+ }
+
+ /**
+ * A paging operation that doesn't return a full URL, just a fragment.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @param apiVersion Sets the api version to use.
+ * @param tenant Sets the tenant to use.
+ * @param nextLink Next link for list operation.
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Mono> nextFragmentWithGroupingSinglePageAsync(
+ String apiVersion, String tenant, String nextLink, RequestOptions requestOptions) {
+ final String accept = "application/json";
+ return FluxUtil.withContext(
+ context ->
+ service.nextFragmentWithGrouping(
+ this.client.getHost(),
+ apiVersion,
+ tenant,
+ nextLink,
+ accept,
+ requestOptions,
+ context))
+ .map(
+ res ->
+ new PagedResponseBase<>(
+ res.getRequest(),
+ res.getStatusCode(),
+ res.getHeaders(),
+ getValues(res.getValue(), "values"),
+ getNextLink(res.getValue(), "odata.nextLink"),
+ null));
+ }
+
+ /**
+ * A paging operation that doesn't return a full URL, just a fragment.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @param apiVersion Sets the api version to use.
+ * @param tenant Sets the tenant to use.
+ * @param nextLink Next link for list operation.
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Mono> nextFragmentWithGroupingSinglePageAsync(
+ String apiVersion, String tenant, String nextLink, RequestOptions requestOptions, Context context) {
+ final String accept = "application/json";
+ return service.nextFragmentWithGrouping(
+ this.client.getHost(), apiVersion, tenant, nextLink, accept, requestOptions, context)
+ .map(
+ res ->
+ new PagedResponseBase<>(
+ res.getRequest(),
+ res.getStatusCode(),
+ res.getHeaders(),
+ getValues(res.getValue(), "values"),
+ getNextLink(res.getValue(), "odata.nextLink"),
+ null));
+ }
+
+ /**
+ * A paging operation that returns a paging model whose item name is is overriden by x-ms-client-name 'indexes'.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Mono> getPagingModelWithItemNameWithXMSClientNameSinglePageAsync(
+ RequestOptions requestOptions) {
+ final String accept = "application/json";
+ return FluxUtil.withContext(
+ context ->
+ service.getPagingModelWithItemNameWithXMSClientName(
+ this.client.getHost(), accept, requestOptions, context))
+ .map(
+ res ->
+ new PagedResponseBase<>(
+ res.getRequest(),
+ res.getStatusCode(),
+ res.getHeaders(),
+ getValues(res.getValue(), "values"),
+ getNextLink(res.getValue(), "nextLink"),
+ null));
+ }
+
+ /**
+ * A paging operation that returns a paging model whose item name is is overriden by x-ms-client-name 'indexes'.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Mono> getPagingModelWithItemNameWithXMSClientNameSinglePageAsync(
+ RequestOptions requestOptions, Context context) {
+ final String accept = "application/json";
+ return service.getPagingModelWithItemNameWithXMSClientName(
+ this.client.getHost(), accept, requestOptions, context)
+ .map(
+ res ->
+ new PagedResponseBase<>(
+ res.getRequest(),
+ res.getStatusCode(),
+ res.getHeaders(),
+ getValues(res.getValue(), "values"),
+ getNextLink(res.getValue(), "nextLink"),
+ null));
+ }
+
+ /**
+ * A paging operation that returns a paging model whose item name is is overriden by x-ms-client-name 'indexes'.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedFlux getPagingModelWithItemNameWithXMSClientNameAsync(RequestOptions requestOptions) {
+ return new PagedFlux<>(
+ () -> getPagingModelWithItemNameWithXMSClientNameSinglePageAsync(requestOptions),
+ nextLink -> getPagingModelWithItemNameWithXMSClientNameNextSinglePageAsync(nextLink, requestOptions));
+ }
+
+ /**
+ * A paging operation that returns a paging model whose item name is is overriden by x-ms-client-name 'indexes'.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedFlux getPagingModelWithItemNameWithXMSClientNameAsync(
+ RequestOptions requestOptions, Context context) {
+ return new PagedFlux<>(
+ () -> getPagingModelWithItemNameWithXMSClientNameSinglePageAsync(requestOptions, context),
+ nextLink ->
+ getPagingModelWithItemNameWithXMSClientNameNextSinglePageAsync(
+ nextLink, requestOptions, context));
+ }
+
+ /**
+ * A paging operation that returns a paging model whose item name is is overriden by x-ms-client-name 'indexes'.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedIterable getPagingModelWithItemNameWithXMSClientName(RequestOptions requestOptions) {
+ return new PagedIterable<>(getPagingModelWithItemNameWithXMSClientNameAsync(requestOptions));
+ }
+
+ /**
+ * A paging operation that returns a paging model whose item name is is overriden by x-ms-client-name 'indexes'.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedIterable getPagingModelWithItemNameWithXMSClientName(
+ RequestOptions requestOptions, Context context) {
+ return new PagedIterable<>(getPagingModelWithItemNameWithXMSClientNameAsync(requestOptions, context));
+ }
+
+ /**
+ * Get the next page of items.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @param nextLink The nextLink parameter.
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Mono> getNoItemNamePagesNextSinglePageAsync(
+ String nextLink, RequestOptions requestOptions) {
+ final String accept = "application/json";
+ return FluxUtil.withContext(
+ context ->
+ service.getNoItemNamePagesNext(
+ nextLink, this.client.getHost(), accept, requestOptions, context))
+ .map(
+ res ->
+ new PagedResponseBase<>(
+ res.getRequest(),
+ res.getStatusCode(),
+ res.getHeaders(),
+ getValues(res.getValue(), "value"),
+ getNextLink(res.getValue(), "nextLink"),
+ null));
+ }
+
+ /**
+ * Get the next page of items.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @param nextLink The nextLink parameter.
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Mono> getNoItemNamePagesNextSinglePageAsync(
+ String nextLink, RequestOptions requestOptions, Context context) {
+ final String accept = "application/json";
+ return service.getNoItemNamePagesNext(nextLink, this.client.getHost(), accept, requestOptions, context)
+ .map(
+ res ->
+ new PagedResponseBase<>(
+ res.getRequest(),
+ res.getStatusCode(),
+ res.getHeaders(),
+ getValues(res.getValue(), "value"),
+ getNextLink(res.getValue(), "nextLink"),
+ null));
+ }
+
+ /**
+ * Get the next page of items.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @param nextLink The nextLink parameter.
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Mono> getSinglePagesNextSinglePageAsync(
+ String nextLink, RequestOptions requestOptions) {
+ final String accept = "application/json";
+ return FluxUtil.withContext(
+ context ->
+ service.getSinglePagesNext(
+ nextLink, this.client.getHost(), accept, requestOptions, context))
+ .map(
+ res ->
+ new PagedResponseBase<>(
+ res.getRequest(),
+ res.getStatusCode(),
+ res.getHeaders(),
+ getValues(res.getValue(), "values"),
+ getNextLink(res.getValue(), "nextLink"),
+ null));
+ }
+
+ /**
+ * Get the next page of items.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @param nextLink The nextLink parameter.
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Mono> getSinglePagesNextSinglePageAsync(
+ String nextLink, RequestOptions requestOptions, Context context) {
+ final String accept = "application/json";
+ return service.getSinglePagesNext(nextLink, this.client.getHost(), accept, requestOptions, context)
+ .map(
+ res ->
+ new PagedResponseBase<>(
+ res.getRequest(),
+ res.getStatusCode(),
+ res.getHeaders(),
+ getValues(res.getValue(), "values"),
+ getNextLink(res.getValue(), "nextLink"),
+ null));
+ }
+
+ /**
+ * Get the next page of items.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @param nextLink The nextLink parameter.
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Mono> firstResponseEmptyNextSinglePageAsync(
+ String nextLink, RequestOptions requestOptions) {
+ final String accept = "application/json";
+ return FluxUtil.withContext(
+ context ->
+ service.firstResponseEmptyNext(
+ nextLink, this.client.getHost(), accept, requestOptions, context))
+ .map(
+ res ->
+ new PagedResponseBase<>(
+ res.getRequest(),
+ res.getStatusCode(),
+ res.getHeaders(),
+ getValues(res.getValue(), "value"),
+ getNextLink(res.getValue(), "nextLink"),
+ null));
+ }
+
+ /**
+ * Get the next page of items.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @param nextLink The nextLink parameter.
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Mono> firstResponseEmptyNextSinglePageAsync(
+ String nextLink, RequestOptions requestOptions, Context context) {
+ final String accept = "application/json";
+ return service.firstResponseEmptyNext(nextLink, this.client.getHost(), accept, requestOptions, context)
+ .map(
+ res ->
+ new PagedResponseBase<>(
+ res.getRequest(),
+ res.getStatusCode(),
+ res.getHeaders(),
+ getValues(res.getValue(), "value"),
+ getNextLink(res.getValue(), "nextLink"),
+ null));
+ }
+
+ /**
+ * Get the next page of items.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @param nextLink The nextLink parameter.
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Mono> getMultiplePagesNextSinglePageAsync(
+ String nextLink, RequestOptions requestOptions) {
+ final String accept = "application/json";
+ return FluxUtil.withContext(
+ context ->
+ service.getMultiplePagesNext(
+ nextLink, this.client.getHost(), accept, requestOptions, context))
+ .map(
+ res ->
+ new PagedResponseBase<>(
+ res.getRequest(),
+ res.getStatusCode(),
+ res.getHeaders(),
+ getValues(res.getValue(), "values"),
+ getNextLink(res.getValue(), "nextLink"),
+ null));
+ }
+
+ /**
+ * Get the next page of items.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @param nextLink The nextLink parameter.
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Mono> getMultiplePagesNextSinglePageAsync(
+ String nextLink, RequestOptions requestOptions, Context context) {
+ final String accept = "application/json";
+ return service.getMultiplePagesNext(nextLink, this.client.getHost(), accept, requestOptions, context)
+ .map(
+ res ->
+ new PagedResponseBase<>(
+ res.getRequest(),
+ res.getStatusCode(),
+ res.getHeaders(),
+ getValues(res.getValue(), "values"),
+ getNextLink(res.getValue(), "nextLink"),
+ null));
+ }
+
+ /**
+ * Get the next page of items.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @param nextLink The nextLink parameter.
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Mono> getOdataMultiplePagesNextSinglePageAsync(
+ String nextLink, RequestOptions requestOptions) {
+ final String accept = "application/json";
+ return FluxUtil.withContext(
+ context ->
+ service.getOdataMultiplePagesNext(
+ nextLink, this.client.getHost(), accept, requestOptions, context))
+ .map(
+ res ->
+ new PagedResponseBase<>(
+ res.getRequest(),
+ res.getStatusCode(),
+ res.getHeaders(),
+ getValues(res.getValue(), "values"),
+ getNextLink(res.getValue(), "odata.nextLink"),
+ null));
+ }
+
+ /**
+ * Get the next page of items.
+ *
+ * Response Body Schema
+ *
+ *
{@code
+ * BinaryData
+ * }
+ *
+ * @param nextLink The nextLink parameter.
+ * @return a DynamicRequest where customizations can be made before sent to the service.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Mono> getOdataMultiplePagesNextSinglePageAsync(
+ String nextLink, RequestOptions requestOptions, Context context) {
+ final String accept = "application/json";
+ return service.getOdataMultiplePagesNext(nextLink, this.client.getHost(), accept, requestOptions, context)
+ .map(
+ res ->
+ new PagedResponseBase<>(
+ res.getRequest(),
+ res.getStatusCode(),
+ res.getHeaders(),
+ getValues(res.getValue(), "values"),
+ getNextLink(res.getValue(), "odata.nextLink"),
+ null));
+ }
+
+ /**
+ * Get the next page of items.
+ *
+ *