Class AccountingListCompaniesRequestBuilder
- java.lang.Object
-
- com.stackone.stackone_client_java.models.operations.async.AccountingListCompaniesRequestBuilder
-
public class AccountingListCompaniesRequestBuilder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description AccountingListCompaniesRequestBuilder(SDKConfiguration sdkConfiguration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.concurrent.CompletableFuture<AccountingListCompaniesResponse>call()org.reactivestreams.Publisher<AccountingListCompaniesResponse>callAsPublisher()Returns a Publisher that performs next page calls till no more pages are returned.AccountingListCompaniesRequestBuilderrequest(AccountingListCompaniesRequest request)AccountingListCompaniesRequestBuilderretryConfig(RetryConfig retryConfig)AccountingListCompaniesRequestBuilderretryConfig(java.util.Optional<RetryConfig> retryConfig)
-
-
-
Constructor Detail
-
AccountingListCompaniesRequestBuilder
public AccountingListCompaniesRequestBuilder(SDKConfiguration sdkConfiguration)
-
-
Method Detail
-
request
public AccountingListCompaniesRequestBuilder request(AccountingListCompaniesRequest request)
-
retryConfig
public AccountingListCompaniesRequestBuilder retryConfig(RetryConfig retryConfig)
-
retryConfig
public AccountingListCompaniesRequestBuilder retryConfig(java.util.Optional<RetryConfig> retryConfig)
-
call
public java.util.concurrent.CompletableFuture<AccountingListCompaniesResponse> call() throws java.lang.Exception
- Throws:
java.lang.Exception
-
callAsPublisher
public org.reactivestreams.Publisher<AccountingListCompaniesResponse> callAsPublisher()
Returns a Publisher that performs next page calls till no more pages are returned.The returned publisher can be used with reactive frameworks:
Publisher<AccountingListCompaniesResponse> publisher = builder.callAsPublisher(); publisher.subscribe(new Subscriber<AccountingListCompaniesResponse>() { // Handle onNext, onError, onComplete });- Returns:
- A Publisher that emits pages asynchronously
-
-