Class AccountingListCompaniesRequestBuilder
- java.lang.Object
-
- com.stackone.stackone_client_java.models.operations.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 AccountingListCompaniesResponsecall()java.lang.Iterable<AccountingListCompaniesResponse>callAsIterable()Returns an iterable that performs next page calls till no more pages are returned.java.util.stream.Stream<AccountingListCompaniesResponse>callAsStream()Returns a stream 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 AccountingListCompaniesResponse call()
-
callAsIterable
public java.lang.Iterable<AccountingListCompaniesResponse> callAsIterable()
Returns an iterable that performs next page calls till no more pages are returned.The returned iterable can be used in a for-each loop:
for (AccountingListCompaniesResponse page : builder.callAsIterable()) { // Process each page }- Returns:
- An iterable that can be used to iterate through all pages
-
callAsStream
public java.util.stream.Stream<AccountingListCompaniesResponse> callAsStream()
Returns a stream that performs next page calls till no more pages are returned.
-
-