Package org.azd.wiki.pagesbatch
Class PagesBatchRequestBuilder
java.lang.Object
org.azd.abstractions.BaseRequestBuilder
org.azd.wiki.pagesbatch.PagesBatchRequestBuilder
Provides functionality to work with Wiki pages batch Api.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Represents the query parameters.static class
Request configuration object for the query parameters.static class
Represents the query parameters.Nested classes/interfaces inherited from class org.azd.abstractions.BaseRequestBuilder
BaseRequestBuilder.ProjectExcludeParameter
-
Field Summary
Fields inherited from class org.azd.abstractions.BaseRequestBuilder
accessTokenCredential, apiVersion, area, locationId, organizationUrl, serializer
-
Constructor Summary
ConstructorDescriptionPagesBatchRequestBuilder
(String organizationUrl, AccessTokenCredential accessTokenCredential) Instantiates a new RequestBuilder instance and sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionget
(String wikiIdentifier, Consumer<PagesBatchRequestBuilder.WikiPagesBatchRequest> wikiPagesBatchRequest) Returns pageable list of Wiki Pagesget
(String wikiIdentifier, Consumer<PagesBatchRequestBuilder.WikiPagesBatchRequest> wikiPagesBatchRequest, Consumer<PagesBatchRequestBuilder.RequestConfiguration> requestConfiguration) Returns pageable list of Wiki PagesgetAsync
(String wikiIdentifier, Consumer<PagesBatchRequestBuilder.WikiPagesBatchRequest> wikiPagesBatchRequest) Returns pageable list of Wiki PagesgetAsync
(String wikiIdentifier, Consumer<PagesBatchRequestBuilder.WikiPagesBatchRequest> wikiPagesBatchRequest, Consumer<PagesBatchRequestBuilder.RequestConfiguration> requestConfiguration) Returns pageable list of Wiki PagesMethods inherited from class org.azd.abstractions.BaseRequestBuilder
builder
-
Constructor Details
-
PagesBatchRequestBuilder
public PagesBatchRequestBuilder(String organizationUrl, AccessTokenCredential accessTokenCredential) Instantiates a new RequestBuilder instance and sets the default values.- Parameters:
organizationUrl
- Represents organization location request url.accessTokenCredential
- Access token credential object.
-
-
Method Details
-
getAsync
public CompletableFuture<WikiPageDetails> getAsync(String wikiIdentifier, Consumer<PagesBatchRequestBuilder.WikiPagesBatchRequest> wikiPagesBatchRequest) throws AzDException Returns pageable list of Wiki Pages- Parameters:
wikiIdentifier
- Wiki ID or wiki name.wikiPagesBatchRequest
- Contract encapsulating parameters for the pages batch.- Returns:
- Collection of Wiki page detail.
WikiPageDetails
- Throws:
AzDException
- Default Api exception handler.
-
getAsync
public CompletableFuture<WikiPageDetails> getAsync(String wikiIdentifier, Consumer<PagesBatchRequestBuilder.WikiPagesBatchRequest> wikiPagesBatchRequest, Consumer<PagesBatchRequestBuilder.RequestConfiguration> requestConfiguration) throws AzDException Returns pageable list of Wiki Pages- Parameters:
wikiIdentifier
- Wiki ID or wiki name.wikiPagesBatchRequest
- Contract encapsulating parameters for the pages batch.requestConfiguration
- Represents the query parameters.- Returns:
- Collection of Wiki page detail.
WikiPageDetails
- Throws:
AzDException
- Default Api exception handler.
-
get
public WikiPageDetails get(String wikiIdentifier, Consumer<PagesBatchRequestBuilder.WikiPagesBatchRequest> wikiPagesBatchRequest) throws AzDException Returns pageable list of Wiki Pages- Parameters:
wikiIdentifier
- Wiki ID or wiki name.wikiPagesBatchRequest
- Contract encapsulating parameters for the pages batch.- Returns:
- Collection of Wiki page detail.
WikiPageDetails
- Throws:
AzDException
- Default Api exception handler.
-
get
public WikiPageDetails get(String wikiIdentifier, Consumer<PagesBatchRequestBuilder.WikiPagesBatchRequest> wikiPagesBatchRequest, Consumer<PagesBatchRequestBuilder.RequestConfiguration> requestConfiguration) throws AzDException Returns pageable list of Wiki Pages- Parameters:
wikiIdentifier
- Wiki ID or wiki name.wikiPagesBatchRequest
- Contract encapsulating parameters for the pages batch.requestConfiguration
- Represents the query parameters.- Returns:
- Collection of Wiki page detail.
WikiPageDetails
- Throws:
AzDException
- Default Api exception handler.
-